[INFO] fetching crate cassandra_macro 0.1.3... [INFO] testing cassandra_macro-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cassandra_macro 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cassandra_macro 0.1.3 [INFO] finished tweaking crates.io crate cassandra_macro 0.1.3 [INFO] tweaked toml for crates.io crate cassandra_macro 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cassandra_macro 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding lz4-compress v0.1.0 (available: v0.1.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37ac0d5a42007fdc76008e880027b26e44c9f852dde22547c2c812d52993c13 [INFO] running `Command { std: "docker" "start" "-a" "f37ac0d5a42007fdc76008e880027b26e44c9f852dde22547c2c812d52993c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37ac0d5a42007fdc76008e880027b26e44c9f852dde22547c2c812d52993c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37ac0d5a42007fdc76008e880027b26e44c9f852dde22547c2c812d52993c13", kill_on_drop: false }` [INFO] [stdout] f37ac0d5a42007fdc76008e880027b26e44c9f852dde22547c2c812d52993c13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e9ffc92885abbcca17b7e4f165706a05e0ad0d84ffcd10ee473dce35f58109 [INFO] running `Command { std: "docker" "start" "-a" "13e9ffc92885abbcca17b7e4f165706a05e0ad0d84ffcd10ee473dce35f58109", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling lz4-compress v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling cdrs v2.3.3 [INFO] [stderr] Compiling cassandra_macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "13e9ffc92885abbcca17b7e4f165706a05e0ad0d84ffcd10ee473dce35f58109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e9ffc92885abbcca17b7e4f165706a05e0ad0d84ffcd10ee473dce35f58109", kill_on_drop: false }` [INFO] [stdout] 13e9ffc92885abbcca17b7e4f165706a05e0ad0d84ffcd10ee473dce35f58109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da6fb0c3e1aba596697926b83662c8584e9274655d0556fd5bc3f474e483e5a0 [INFO] running `Command { std: "docker" "start" "-a" "da6fb0c3e1aba596697926b83662c8584e9274655d0556fd5bc3f474e483e5a0", kill_on_drop: false }` [INFO] [stderr] Compiling cassandra_macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "da6fb0c3e1aba596697926b83662c8584e9274655d0556fd5bc3f474e483e5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6fb0c3e1aba596697926b83662c8584e9274655d0556fd5bc3f474e483e5a0", kill_on_drop: false }` [INFO] [stdout] da6fb0c3e1aba596697926b83662c8584e9274655d0556fd5bc3f474e483e5a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc634c7846170886e83a1a40632f96a5f69eb1e73d179b6b787eef1da8184307 [INFO] running `Command { std: "docker" "start" "-a" "dc634c7846170886e83a1a40632f96a5f69eb1e73d179b6b787eef1da8184307", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cassandra_macro-59c2bd674d659a78) [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 39) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 unresolved module or unlinked crate `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_derive::CassandraTable; [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 unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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:60 [INFO] [stdout] | [INFO] [stdout] 180 | let rust_user_from_db: Option = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ---- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `CassandraTable` is not implemented for `User` [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct 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 struct [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 struct [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:48 [INFO] [stdout] | [INFO] [stdout] 188 | let rust_user_from_db_1 = connection.find::(vec!["Rust".to_string()]).unwrap(); [INFO] [stdout] | ---- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `CassandraTable` is not implemented for `User` [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct 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 struct [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 struct [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 struct [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 struct [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 29 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 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "dc634c7846170886e83a1a40632f96a5f69eb1e73d179b6b787eef1da8184307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc634c7846170886e83a1a40632f96a5f69eb1e73d179b6b787eef1da8184307", kill_on_drop: false }` [INFO] [stdout] dc634c7846170886e83a1a40632f96a5f69eb1e73d179b6b787eef1da8184307