[INFO] fetching crate cassandra_macro 0.1.3... [INFO] testing cassandra_macro-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cassandra_macro 0.1.3 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cassandra_macro 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d64e779a46470db90dde44d96b0a1c9d86ae17d418600b7b12e05903b10bfbd [INFO] running `Command { std: "docker" "start" "-a" "1d64e779a46470db90dde44d96b0a1c9d86ae17d418600b7b12e05903b10bfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d64e779a46470db90dde44d96b0a1c9d86ae17d418600b7b12e05903b10bfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d64e779a46470db90dde44d96b0a1c9d86ae17d418600b7b12e05903b10bfbd", kill_on_drop: false }` [INFO] [stdout] 1d64e779a46470db90dde44d96b0a1c9d86ae17d418600b7b12e05903b10bfbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59220288646f2d65c688ddce97c686450216ac89cd06c1e0b9032a1d0955434 [INFO] running `Command { std: "docker" "start" "-a" "e59220288646f2d65c688ddce97c686450216ac89cd06c1e0b9032a1d0955434", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling lz4-compress v0.1.0 [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 5.65s [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 1` [INFO] running `Command { std: "docker" "inspect" "e59220288646f2d65c688ddce97c686450216ac89cd06c1e0b9032a1d0955434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59220288646f2d65c688ddce97c686450216ac89cd06c1e0b9032a1d0955434", kill_on_drop: false }` [INFO] [stdout] e59220288646f2d65c688ddce97c686450216ac89cd06c1e0b9032a1d0955434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf85c5ca67a2712ef3bada0dfe342992507e504f725dfe19b82f9579051ffee [INFO] running `Command { std: "docker" "start" "-a" "eaf85c5ca67a2712ef3bada0dfe342992507e504f725dfe19b82f9579051ffee", 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.46s [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 1` [INFO] running `Command { std: "docker" "inspect" "eaf85c5ca67a2712ef3bada0dfe342992507e504f725dfe19b82f9579051ffee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf85c5ca67a2712ef3bada0dfe342992507e504f725dfe19b82f9579051ffee", kill_on_drop: false }` [INFO] [stdout] eaf85c5ca67a2712ef3bada0dfe342992507e504f725dfe19b82f9579051ffee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2e33473f6c0761883ecb33923b093da013e6b7e9ff839fa755e75af6e9714fa [INFO] running `Command { std: "docker" "start" "-a" "c2e33473f6c0761883ecb33923b093da013e6b7e9ff839fa755e75af6e9714fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cassandra_macro-86a20dd204b33d62) [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [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] 47 | 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] 47 - use cassandra_macro_derive::CassandraTable; [INFO] [stdout] 47 + 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] 58 | 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] 59 | 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] 61 | #[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] 64 | #[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] 67 | #[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] 70 | #[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] 73 | #[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] 76 | #[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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `key_space` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 199 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `table_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `create_table_cql` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 201 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `create_table_cql` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 202 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_primary_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 205 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_primary_and_cluster_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 206 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_by_primary_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 207 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_by_primary_and_cluster_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 208 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete_by_primary_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete_by_primary_and_cluster_keys` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `store_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 214 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `store_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 215 | 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] 217 | 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] 63 | 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] 156 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `update_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 220 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `update_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 223 | 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] 225 | 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] 63 | 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] 156 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `delete_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 229 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- method `delete_query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 230 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `drop_table_cql` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 232 | 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] 63 | pub struct User { [INFO] [stdout] | --------------- function or associated item `drop_table_cql` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 233 | 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.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c2e33473f6c0761883ecb33923b093da013e6b7e9ff839fa755e75af6e9714fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e33473f6c0761883ecb33923b093da013e6b7e9ff839fa755e75af6e9714fa", kill_on_drop: false }` [INFO] [stdout] c2e33473f6c0761883ecb33923b093da013e6b7e9ff839fa755e75af6e9714fa