[INFO] crate cassandra_macro 0.1.2 is already in cache [INFO] testing cassandra_macro-0.1.2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate cassandra_macro 0.1.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cassandra_macro 0.1.2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9776c7fa3caf75d5fedb3e38dd7b6b3586cbd600c5d9117d95ff8d6a189fb4b8 [INFO] running `"docker" "start" "-a" "9776c7fa3caf75d5fedb3e38dd7b6b3586cbd600c5d9117d95ff8d6a189fb4b8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling lz4-compress v0.1.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling r2d2 v0.8.8 [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 35.22s [INFO] running `"docker" "inspect" "9776c7fa3caf75d5fedb3e38dd7b6b3586cbd600c5d9117d95ff8d6a189fb4b8"` [INFO] running `"docker" "rm" "-f" "9776c7fa3caf75d5fedb3e38dd7b6b3586cbd600c5d9117d95ff8d6a189fb4b8"` [INFO] [stdout] 9776c7fa3caf75d5fedb3e38dd7b6b3586cbd600c5d9117d95ff8d6a189fb4b8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9dc03c280e8ff3277ac45ebf5e7a0e09f6cf5486f886f392707b66ffbe5207b6 [INFO] running `"docker" "start" "-a" "9dc03c280e8ff3277ac45ebf5e7a0e09f6cf5486f886f392707b66ffbe5207b6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cassandra_macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `"docker" "inspect" "9dc03c280e8ff3277ac45ebf5e7a0e09f6cf5486f886f392707b66ffbe5207b6"` [INFO] running `"docker" "rm" "-f" "9dc03c280e8ff3277ac45ebf5e7a0e09f6cf5486f886f392707b66ffbe5207b6"` [INFO] [stdout] 9dc03c280e8ff3277ac45ebf5e7a0e09f6cf5486f886f392707b66ffbe5207b6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 663eeb2edf23e5592f52ea4ceb85693073e47cbf5308f791550400544871c1d6 [INFO] running `"docker" "start" "-a" "663eeb2edf23e5592f52ea4ceb85693073e47cbf5308f791550400544871c1d6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cassandra_macro-a83a274608a05404 [INFO] [stderr] Doc-tests cassandra_macro [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:36: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 41) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cassandra_macro_derive` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cassandra_macro_derive::CassandraTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `cassandra_macro_derive` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `chrono` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 22 | use uuid::Uuid; [INFO] [stdout] | ^^^^ help: a similar path exists: `cdrs::uuid` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `CassandraTable` [INFO] [stdout] --> src/lib.rs:64: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:63: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:66:6 [INFO] [stdout] | [INFO] [stdout] 27 | #[column(type = "TEXT", primary_key)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 30 | #[column(type = "UUID")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 33 | #[column(type = "TEXT")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 36 | #[column(type = "TIMESTAMP", cluster_key(order = "ASC", position = 1))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> src/lib.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 39 | #[column(type = "TIMESTAMP")] [INFO] [stdout] | ^^^^^^ [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:201: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: `cassandra_macro::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:202: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: `cassandra_macro::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:203: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: `cassandra_macro::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:204: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: `cassandra_macro::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:207: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: `cassandra_macro::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:208: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: `cassandra_macro::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:209: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: `cassandra_macro::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:210: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: `cassandra_macro::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:211: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: `cassandra_macro::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:212: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: `cassandra_macro::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:216: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: `cassandra_macro::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:217: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: `cassandra_macro::CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: cassandra_macro::CassandraTable` is not satisfied [INFO] [stdout] --> src/lib.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 180 | let rust_user_from_db: Option = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ^^^^ the trait `cassandra_macro::CassandraTable` is not implemented for `User` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:222: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: `cassandra_macro::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:225: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: `cassandra_macro::CassandraTable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: cassandra_macro::CassandraTable` is not satisfied [INFO] [stdout] --> src/lib.rs:227:41 [INFO] [stdout] | [INFO] [stdout] 188 | let rust_user_from_db_1 = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ^^^^ the trait `cassandra_macro::CassandraTable` is not implemented for `User` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_query` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:231: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: `cassandra_macro::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:232: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: `cassandra_macro::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:234: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: `cassandra_macro::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:235: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: `cassandra_macro::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 34) [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "663eeb2edf23e5592f52ea4ceb85693073e47cbf5308f791550400544871c1d6"` [INFO] running `"docker" "rm" "-f" "663eeb2edf23e5592f52ea4ceb85693073e47cbf5308f791550400544871c1d6"` [INFO] [stdout] 663eeb2edf23e5592f52ea4ceb85693073e47cbf5308f791550400544871c1d6