[INFO] crate cassandra_macro 0.1.2 is already in cache [INFO] testing cassandra_macro-0.1.2 against 1.45.2 for beta-1.46-1 [INFO] extracting crate cassandra_macro 0.1.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cassandra_macro 0.1.2 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff58877cc80e0b28c3450107274443d241e0b97f5fe9ca6577421f3e472efa2 [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" "9ff58877cc80e0b28c3450107274443d241e0b97f5fe9ca6577421f3e472efa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff58877cc80e0b28c3450107274443d241e0b97f5fe9ca6577421f3e472efa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff58877cc80e0b28c3450107274443d241e0b97f5fe9ca6577421f3e472efa2", kill_on_drop: false }` [INFO] [stdout] 9ff58877cc80e0b28c3450107274443d241e0b97f5fe9ca6577421f3e472efa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3ca87fe129e9fc5579356b40b1d2af41322dd36166d2838e55436e57f438b13 [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" "c3ca87fe129e9fc5579356b40b1d2af41322dd36166d2838e55436e57f438b13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lz4-compress v0.1.0 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot v0.11.0 [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 39.38s [INFO] running `Command { std: "docker" "inspect" "c3ca87fe129e9fc5579356b40b1d2af41322dd36166d2838e55436e57f438b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ca87fe129e9fc5579356b40b1d2af41322dd36166d2838e55436e57f438b13", kill_on_drop: false }` [INFO] [stdout] c3ca87fe129e9fc5579356b40b1d2af41322dd36166d2838e55436e57f438b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6115205dc9edbb92dcdb25d74a8bc4a18b332c1e8b329d0af50f1775f4529c4 [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" "a6115205dc9edbb92dcdb25d74a8bc4a18b332c1e8b329d0af50f1775f4529c4", 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.70s [INFO] running `Command { std: "docker" "inspect" "a6115205dc9edbb92dcdb25d74a8bc4a18b332c1e8b329d0af50f1775f4529c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6115205dc9edbb92dcdb25d74a8bc4a18b332c1e8b329d0af50f1775f4529c4", kill_on_drop: false }` [INFO] [stdout] a6115205dc9edbb92dcdb25d74a8bc4a18b332c1e8b329d0af50f1775f4529c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a7e00a42b7e98e46587de1dfa2c7a38e6990a95bd86955054ba56498e1ffd4a [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" "4a7e00a42b7e98e46587de1dfa2c7a38e6990a95bd86955054ba56498e1ffd4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cassandra_macro-cf2c53c2c19aacae [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests cassandra_macro [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 `Command { std: "docker" "inspect" "4a7e00a42b7e98e46587de1dfa2c7a38e6990a95bd86955054ba56498e1ffd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7e00a42b7e98e46587de1dfa2c7a38e6990a95bd86955054ba56498e1ffd4a", kill_on_drop: false }` [INFO] [stdout] 4a7e00a42b7e98e46587de1dfa2c7a38e6990a95bd86955054ba56498e1ffd4a