[INFO] fetching crate discord-cassandra-cpp 0.15.1... [INFO] checking discord-cassandra-cpp-0.15.1 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate discord-cassandra-cpp 0.15.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate discord-cassandra-cpp 0.15.1 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-cassandra-cpp 0.15.1 [INFO] finished tweaking crates.io crate discord-cassandra-cpp 0.15.1 [INFO] tweaked toml for crates.io crate discord-cassandra-cpp 0.15.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate discord-cassandra-cpp 0.15.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae1f0f64a72ee23febd8b7176eb10a2e2fb5f1556d6e635bd438b1f93cb88d4f [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" "ae1f0f64a72ee23febd8b7176eb10a2e2fb5f1556d6e635bd438b1f93cb88d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae1f0f64a72ee23febd8b7176eb10a2e2fb5f1556d6e635bd438b1f93cb88d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1f0f64a72ee23febd8b7176eb10a2e2fb5f1556d6e635bd438b1f93cb88d4f", kill_on_drop: false }` [INFO] [stdout] ae1f0f64a72ee23febd8b7176eb10a2e2fb5f1556d6e635bd438b1f93cb88d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] b0d4fce2a33e56c0451b3c8e8bbf4c2b76cf0f9ca83d197b201e876e53c1ea67 [INFO] running `Command { std: "docker" "start" "-a" "b0d4fce2a33e56c0451b3c8e8bbf4c2b76cf0f9ca83d197b201e876e53c1ea67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling cassandra-cpp-sys v0.12.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking ord_subset v1.2.0 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling decimal v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking backtrace v0.3.42 [INFO] [stderr] Checking error-chain v0.12.1 [INFO] [stderr] Checking discord-cassandra-cpp v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:338:39 [INFO] [stdout] | [INFO] [stdout] 338 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:350:39 [INFO] [stdout] | [INFO] [stdout] 350 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:553:39 [INFO] [stdout] | [INFO] [stdout] 553 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:566:39 [INFO] [stdout] | [INFO] [stdout] 566 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/iterator.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/prepared.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/column_meta.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/table_meta.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/value.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.3 [INFO] [stderr] Checking tokio v0.2.10 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:338:39 [INFO] [stdout] | [INFO] [stdout] 338 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:350:39 [INFO] [stdout] | [INFO] [stdout] 350 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | #[allow(cast_possible_truncation, cast_sign_loss)] [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] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:553:39 [INFO] [stdout] | [INFO] [stdout] 553 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:566:39 [INFO] [stdout] | [INFO] [stdout] 566 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | session.execute(&stmt!("USE examples")).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let create_keyspace = stmt!("CREATE KEYSPACE IF NOT EXISTS testks WITH REPLICATION = { 'class': 'SimpleStrategy', 'replication_factor... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let create_table = stmt!("CREATE TABLE IF NOT EXISTS testks.user (first_name text PRIMARY KEY, addresses map, email set examples/collections.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let mut insert_data = stmt!("INSERT INTO testks.user (first_name, addresses, email, last_name, phone_numbers, title) VALUES (?, ?, ?,... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let query = stmt!("SELECT * FROM testks.user;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/uuids.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut statement = stmt!(INSERT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let mut statement = stmt!(SELECT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | session.execute(&stmt!(CREATE_TABLE)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | session.execute(&stmt!(TRUNCATE_QUERY)).wait().unwrap(); [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] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/iterator.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let mut statement = stmt!("INSERT INTO examples.collections (key, items) VALUES (?, ?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let mut statement = stmt!("INSERT INTO examples.collections (key) VALUES (?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut statement = stmt!("SELECT items FROM examples.collections WHERE key = ?"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let create_table = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/types.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = stmt!("select 1+1;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let type_statement = &stmt!("CREATE TYPE IF NOT EXISTS examples.udt (dt date, tm time);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let table_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let truncate_statement = &stmt!("TRUNCATE examples.basic;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut statement = stmt!(SELECT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let s = stmt!("CREATE GOBBLEDEGOOK;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | stmt!("INSERT INTO examples.basic (key, bln, flt) VALUES ('vacant', true, 3.14);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/prepared.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let query = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut s = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let s = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | let query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | let mut query = stmt!("SELECT * from system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | let query = stmt!("SELECT gibberish from system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | let s = stmt!("INSERT INTO examples.basic (key, i32) VALUES ('utf8', -1);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let query = stmt!("SELECT i32 FROM examples.basic WHERE key = 'utf8';"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | let mut query = stmt!("SELECT ? from system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/async.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/async.rs:7:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/async.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/maps.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/maps.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let mut insert_statement = stmt!("INSERT INTO examples.maps (key, items) VALUES (?, ?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/maps.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | session.execute(&stmt!(CREATE_TABLE)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | let mut query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/async.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/bind_by_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/column_meta.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/logging.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let query1 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let query2 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let query3 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/schema_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let create_ks = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let create_table = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let create_func1 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let create_func2 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | let create_aggregate = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/table_meta.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/simple_async.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/simple_async.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/futures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | session.execute(&stmt!("USE examples")).await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | session.execute(&stmt!("USE examples")).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/collections.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn do_work(session: &Session) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> examples/collections.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut addresses = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> examples/collections.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut phones = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MapIterator` in this scope [INFO] [stdout] --> examples/collections.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let maybe_iter: Result = row.get_by_name("addresses"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | let maybe_iter: Result = row.get_by_name("addresses"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::MapIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let emails_iter: SetIterator = row.get_by_name("email")?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 | let emails_iter: IntoIterator = row.get_by_name("email")?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let phone_numbers_iter: SetIterator = row.get_by_name("phone_numbers")?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 | let phone_numbers_iter: IntoIterator = row.get_by_name("phone_numbers")?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/collections.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/collections.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | fn do_work(session: &Session) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/simple.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> tests/bind_by_name.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let schema_query = Statement::new(&query, 0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | s.set_consistency(Consistency::LOCAL_ONE).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | s.set_serial_consistency(Consistency::SERIAL).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/value.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | batch.set_consistency(Consistency::TWO).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | .set_serial_consistency(Consistency::LOCAL_SERIAL) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/uuids.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | 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:21:65 [INFO] [stdout] | [INFO] [stdout] 21 | fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let t: Uuid = r.get_column(1).expect("time0").get_uuid().expect("time"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/uuids.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:62:71 [INFO] [stdout] | [INFO] [stdout] 62 | 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[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/uuids.rs:12:78 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/uuids.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Consistency::LOCAL_QUORUM.to_string(), "LOCAL_QUORUM"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(format!("{}", Consistency::LOCAL_QUORUM), "LOCAL_QUORUM"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("THREE".parse::().unwrap(), Consistency::THREE); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `Cluster` [INFO] [stdout] --> examples/simple_async.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::DISABLED); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | set_level(LogLevel::DEBUG); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(LogLevel::DEBUG > LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(LogLevel::DEBUG > LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/logging.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/simple.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/futures.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/futures.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/futures.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(LogLevel::INFO.to_string(), "INFO"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(format!("{}", LogLevel::WARN), "WARN"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!("ERROR".parse::().unwrap(), LogLevel::ERROR); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/futures.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn insert_into_maps(session: &Session, key: &str, items: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> tests/maps.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let mut map = Map::new(items.len()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::core_reexport::iter::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Map; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn select_from_maps(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> tests/maps.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let mut statement = Statement::new(SELECT_QUERY, 1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MapIterator` in this scope [INFO] [stdout] --> tests/maps.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let items_iterator: MapIterator = column.get_map().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | let items_iterator: Iterator = column.get_map().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::MapIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/logging.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_logger` in this scope [INFO] [stdout] --> tests/logging.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | set_logger(Some(logger)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/logging.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/collections.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Set` [INFO] [stdout] --> tests/collections.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut set = Set::new(2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/collections.rs:21:73 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | ssl.set_verify_flags(&vec![SslVerifyFlag::NONE]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | ssl.set_verify_flags(&vec![SslVerifyFlag::PEER_CERT]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | fn select_from_collections(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | SslVerifyFlag::PEER_IDENTITY_DNS, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | SslVerifyFlag::PEER_CERT, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/maps.rs:17:73 [INFO] [stdout] | [INFO] [stdout] 17 | fn insert_into_maps(session: &Session, key: &str, items: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> tests/collections.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let items_iterator: SetIterator = column?.get_set()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | let items_iterator: IntoIterator = column?.get_set()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/maps.rs:31:54 [INFO] [stdout] | [INFO] [stdout] 31 | fn select_from_maps(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] 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:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | 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 `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | SslVerifyFlag::PEER_IDENTITY_DNS.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(format!("{}", SslVerifyFlag::PEER_CERT), "PEER_CERT"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn select_from_collections(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyspaceMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let keyspace_meta: KeyspaceMeta = schema_meta.get_keyspace_by_name(keyspace); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::KeyspaceMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn print_function_meta(meta: FunctionMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::FunctionMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AggregateMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | fn print_aggregate_meta(meta: AggregateMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::AggregateMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldIterator` in this scope [INFO] [stdout] --> examples/schema_meta.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn print_meta_fields(iterator: FieldIterator, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::FieldIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> examples/schema_meta.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | fn print_schema_value(value: Value) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use slog::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/schema_meta.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TableMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | fn print_table_meta(meta: &mut TableMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::TableMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | fn print_column_meta(meta: &mut ColumnMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::ColumnMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | fn print_keyspace(session: &Session, keyspace: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyspaceMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:227:44 [INFO] [stdout] | [INFO] [stdout] 227 | fn print_keyspace_meta(keyspace_meta: &mut KeyspaceMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::KeyspaceMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | SslVerifyFlag::NONE [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn cass() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/basic.rs:449:27 [INFO] [stdout] | [INFO] [stdout] 449 | query.set_consistency(Consistency::THREE).unwrap(); // assuming we only have one node, this must fail [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | 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:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | 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:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | ErrorKind::CassErrorResult( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(BatchType::LOGGED.to_string(), "LOGGED"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(format!("{}", BatchType::UNLOGGED), "UNLOGGED"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CassErrorCode` [INFO] [stdout] --> tests/basic.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | 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:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | ErrorKind::InvalidUtf8(_) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | ErrorKind::StringContainsNul(_) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Inet` in this scope [INFO] [stdout] --> tests/basic.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | addr: Inet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Inet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | tu: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_basic_table(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | 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:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | fn select_from_basic(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserTypeIterator` in this scope [INFO] [stdout] --> tests/basic.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | 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:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreparedStatement` in this scope [INFO] [stdout] --> tests/basic.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | prepared: &PreparedStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::PreparedStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserTypeIterator` in this scope [INFO] [stdout] --> tests/basic.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let fields_iter: UserTypeIterator = row.get(12)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UserTypeIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/basic.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | 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:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | 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 `BatchType` [INFO] [stdout] --> tests/types.rs:122:57 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!("COUNTER".parse::().unwrap(), BatchType::COUNTER); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Batch` [INFO] [stdout] --> tests/types.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let all = Consistency::variants(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let c2: Consistency = s.parse().expect(&format!("Failed on {:?} as {}", c, s)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("THREE".parse::().unwrap(), Consistency::THREE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/types.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::DISABLED); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/types.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | set_level(LogLevel::DEBUG); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | for v in LogLevel::variants() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let v2: LogLevel = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!("ERROR".parse::().unwrap(), LogLevel::ERROR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | .parse::() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ssl` [INFO] [stdout] --> tests/types.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut ssl = Ssl::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Ssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for v in SslVerifyFlag::variants() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let v2: SslVerifyFlag = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | "NONE".parse::().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/types.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for v in BatchType::variants() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let v2: BatchType = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!("COUNTER".parse::().unwrap(), BatchType::COUNTER); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | fn select_from_basic(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0d4fce2a33e56c0451b3c8e8bbf4c2b76cf0f9ca83d197b201e876e53c1ea67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d4fce2a33e56c0451b3c8e8bbf4c2b76cf0f9ca83d197b201e876e53c1ea67", kill_on_drop: false }` [INFO] [stdout] b0d4fce2a33e56c0451b3c8e8bbf4c2b76cf0f9ca83d197b201e876e53c1ea67