[INFO] fetching crate cassandra_macro 0.1.2... [INFO] testing cassandra_macro-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cassandra_macro 0.1.2 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate cassandra_macro 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cassandra_macro 0.1.2 [INFO] finished tweaking crates.io crate cassandra_macro 0.1.2 [INFO] tweaked toml for crates.io crate cassandra_macro 0.1.2 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12c9688e284b60e0674b87469610a0ec900d3656e444fdb19a3bb1e2d6031c26 [INFO] running `Command { std: "docker" "start" "-a" "12c9688e284b60e0674b87469610a0ec900d3656e444fdb19a3bb1e2d6031c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c9688e284b60e0674b87469610a0ec900d3656e444fdb19a3bb1e2d6031c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c9688e284b60e0674b87469610a0ec900d3656e444fdb19a3bb1e2d6031c26", kill_on_drop: false }` [INFO] [stdout] 12c9688e284b60e0674b87469610a0ec900d3656e444fdb19a3bb1e2d6031c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e549f11259da8a2a41fa5cc41776c7d1ef5171cee97d580df05cc90895b8e156 [INFO] running `Command { std: "docker" "start" "-a" "e549f11259da8a2a41fa5cc41776c7d1ef5171cee97d580df05cc90895b8e156", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lz4-compress v0.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling cdrs v2.3.3 [INFO] [stderr] Compiling cassandra_macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.21s [INFO] running `Command { std: "docker" "inspect" "e549f11259da8a2a41fa5cc41776c7d1ef5171cee97d580df05cc90895b8e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e549f11259da8a2a41fa5cc41776c7d1ef5171cee97d580df05cc90895b8e156", kill_on_drop: false }` [INFO] [stdout] e549f11259da8a2a41fa5cc41776c7d1ef5171cee97d580df05cc90895b8e156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c5b583977f2e0c649cb57df5242f8ce6d469b767b43a08b0042716e972f95df [INFO] running `Command { std: "docker" "start" "-a" "6c5b583977f2e0c649cb57df5242f8ce6d469b767b43a08b0042716e972f95df", kill_on_drop: false }` [INFO] [stderr] Compiling cassandra_macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cassandra_macro-4453b2132a89aa4c) [INFO] running `Command { std: "docker" "inspect" "6c5b583977f2e0c649cb57df5242f8ce6d469b767b43a08b0042716e972f95df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c5b583977f2e0c649cb57df5242f8ce6d469b767b43a08b0042716e972f95df", kill_on_drop: false }` [INFO] [stdout] 6c5b583977f2e0c649cb57df5242f8ce6d469b767b43a08b0042716e972f95df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c56e8efc5f87ad35532b61dc44d75a347263ab9fd0554b0379faa87658f4470 [INFO] running `Command { std: "docker" "start" "-a" "3c56e8efc5f87ad35532b61dc44d75a347263ab9fd0554b0379faa87658f4470", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cassandra_macro-4453b2132a89aa4c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cassandra_macro [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cdrs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cassandra_macro_derive` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cassandra_macro_derive::CassandraTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_macro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | use cassandra_macro::CassandraTable; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 22 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of undeclared crate or module `uuid` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CassandraTable` [INFO] [stdout] --> src/lib.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, CassandraTable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[table(keyspace = "test", options = "comment='Only for RUST users' | COMPACTION = {'class':'SizeTieredCompactionStrategy'}")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 27 | #[column(type = "TEXT", primary_key)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `column` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 30 | #[column(type = "UUID")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `column` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 33 | #[column(type = "TEXT")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `column` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 36 | #[column(type = "TIMESTAMP", cluster_key(order = "ASC", position = 1))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `column` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 39 | #[column(type = "TIMESTAMP")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `column` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `key_space` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `key_space` not found for this [INFO] [stdout] ... [INFO] [stdout] 162 | println!("Keyspace:.{}.", User::key_space()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `key_space`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table_name` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `table_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 163 | println!("Table name:.{}.", User::table_name()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_table_cql` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:201:40 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `create_table_cql` not found for this [INFO] [stdout] ... [INFO] [stdout] 164 | println!("Creating table:{}", User::create_table_cql()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `create_table_cql`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_table_cql` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:202:46 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `create_table_cql` not found for this [INFO] [stdout] ... [INFO] [stdout] 165 | connection.execute_simple_statement(User::create_table_cql()).expect("Must create table"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `create_table_cql`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select_by_primary_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_primary_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 168 | println!("{}", User::select_by_primary_keys(Projection::Columns(vec!["created".to_string()]))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `select_by_primary_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select_by_primary_and_cluster_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_primary_and_cluster_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 169 | println!("{}", User::select_by_primary_and_cluster_keys(Projection::All)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `select_by_primary_and_cluster_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_primary_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_by_primary_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 170 | println!("{}", User::update_by_primary_keys(vec!["updated".to_string()])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update_by_primary_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_primary_and_cluster_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_by_primary_and_cluster_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 171 | println!("{}", User::update_by_primary_and_cluster_keys(vec!["updated".to_string()])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update_by_primary_and_cluster_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_primary_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete_by_primary_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 172 | println!("{}", User::delete_by_primary_keys()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_by_primary_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_primary_and_cluster_keys` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete_by_primary_and_cluster_keys` not found for this [INFO] [stdout] ... [INFO] [stdout] 173 | println!("{}", User::delete_by_primary_and_cluster_keys()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_by_primary_and_cluster_keys`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `store_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `store_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 177 | println!("Storing rust: {}", rust_user.store_query().query()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `store_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `store_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:215:46 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `store_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 178 | connection.execute_store_query(&rust_user.store_query()).expect("User must be stored"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `store_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: CassandraTable` is not satisfied [INFO] [stdout] --> src/lib.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 180 | let rust_user_from_db: Option = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ^^^^ the trait `CassandraTable` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CassandraDriver::find` [INFO] [stdout] --> src/lib.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find(&self, keys: Vec) -> Result, CassandraDriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CassandraDriver::find` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `update_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 183 | println!("Update rust:{}", rust_user.update_query().unwrap().query()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:223:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `update_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 186 | connection.execute_update_query(&rust_user.update_query().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: CassandraTable` is not satisfied [INFO] [stdout] --> src/lib.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 188 | let rust_user_from_db_1 = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ^^^^ the trait `CassandraTable` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CassandraDriver::find` [INFO] [stdout] --> src/lib.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find(&self, keys: Vec) -> Result, CassandraDriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CassandraDriver::find` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `delete_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 192 | println!("Delete:{}", rust_user.delete_query().query()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- method `delete_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 193 | connection.execute_delete_query(&rust_user.delete_query()).expect("Must be deleted"); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drop_table_cql` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `drop_table_cql` not found for this [INFO] [stdout] ... [INFO] [stdout] 195 | println!("Dropping table: {}", User::drop_table_cql()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `drop_table_cql`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `drop_table_cql` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `drop_table_cql` not found for this [INFO] [stdout] ... [INFO] [stdout] 196 | connection.execute_simple_statement(User::drop_table_cql()).expect("Table must be removed"); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `drop_table_cql`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CassandraTable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3c56e8efc5f87ad35532b61dc44d75a347263ab9fd0554b0379faa87658f4470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c56e8efc5f87ad35532b61dc44d75a347263ab9fd0554b0379faa87658f4470", kill_on_drop: false }` [INFO] [stdout] 3c56e8efc5f87ad35532b61dc44d75a347263ab9fd0554b0379faa87658f4470