[INFO] fetching crate dgraph_query_lib 0.1.0... [INFO] checking dgraph_query_lib-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate dgraph_query_lib 0.1.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate dgraph_query_lib 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dgraph_query_lib 0.1.0 [INFO] finished tweaking crates.io crate dgraph_query_lib 0.1.0 [INFO] tweaked toml for crates.io crate dgraph_query_lib 0.1.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e69d0eb52d092e568aeab9e8f78993b1c3ded6f693bdf7de055a39c121d44731 [INFO] running `Command { std: "docker" "start" "-a" "e69d0eb52d092e568aeab9e8f78993b1c3ded6f693bdf7de055a39c121d44731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e69d0eb52d092e568aeab9e8f78993b1c3ded6f693bdf7de055a39c121d44731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69d0eb52d092e568aeab9e8f78993b1c3ded6f693bdf7de055a39c121d44731", kill_on_drop: false }` [INFO] [stdout] e69d0eb52d092e568aeab9e8f78993b1c3ded6f693bdf7de055a39c121d44731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e60591a88bf3be31d8b2d8739c796e78c4ec51d7e05c90af9f0733901e3a7dc [INFO] running `Command { std: "docker" "start" "-a" "8e60591a88bf3be31d8b2d8739c796e78c4ec51d7e05c90af9f0733901e3a7dc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking dgraph_query_lib v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/schema.rs (1 fix) [INFO] [stderr] Fixed src/mutation.rs (2 fixes) [INFO] [stderr] Fixed src/tests.rs (3 fixes) [INFO] [stderr] Fixed src/tests.rs (10 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.09s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking dgraph_query_lib v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | .query_type(QueryBlockType::Var) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QueryBlockType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | .query_type(QueryBlockType::Var) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QueryBlockType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateType` [INFO] [stdout] --> src/tests.rs:168:67 [INFO] [stdout] | [INFO] [stdout] 168 | .add_predicate(PredicateDefinition::new("first_seen", PredicateType::INT) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PredicateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Indexing` [INFO] [stdout] --> src/tests.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | .add_index(Indexing::INT)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Indexing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateType` [INFO] [stdout] --> src/tests.rs:170:66 [INFO] [stdout] | [INFO] [stdout] 170 | .add_predicate(PredicateDefinition::new("last_seen", PredicateType::INT) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PredicateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Indexing` [INFO] [stdout] --> src/tests.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | .add_index(Indexing::INT)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Indexing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateType` [INFO] [stdout] --> src/tests.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | .add_predicate(PredicateDefinition::new("node_key", PredicateType::String) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PredicateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Indexing` [INFO] [stdout] --> src/tests.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | .add_index(Indexing::EXACT) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Indexing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateType` [INFO] [stdout] --> src/tests.rs:175:65 [INFO] [stdout] | [INFO] [stdout] 175 | .add_predicate(PredicateDefinition::new("org_name", PredicateType::String) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PredicateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Indexing` [INFO] [stdout] --> src/tests.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | .add_index(Indexing::TRIGRAM))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Indexing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBuilder` [INFO] [stdout] --> src/tests.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let query = QueryBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | .query_type(QueryBlockType::var()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::queryblock::QueryBlockType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | .root_filter(Condition::HAS("last_seen".to_string())) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | Predicate::ScalarVariable("TIME".to_string(), Field::new("last_seen")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | Predicate::ScalarVariable("TIME".to_string(), Field::new("last_seen")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Predicate::EdgeVariable("IMPORTANT_EDGES".to_string(), EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeBuilder` [INFO] [stdout] --> src/tests.rs:22:76 [INFO] [stdout] | [INFO] [stdout] 22 | Predicate::EdgeVariable("IMPORTANT_EDGES".to_string(), EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::EdgeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | .filter(Condition::REGEXP("a_predicate".to_string(), ConditionValue::Regexp("[aA].+".to_string()))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:24:78 [INFO] [stdout] | [INFO] [stdout] 24 | .filter(Condition::REGEXP("a_predicate".to_string(), ConditionValue::Regexp("[aA].+".to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | ... Predicate::Field(Field::new("dgraph.type").alias("dgraph_type")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... Predicate::Field(Field::new("dgraph.type").alias("dgraph_type")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | .query_type(QueryBlockType::query()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::queryblock::QueryBlockType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | .filter(Condition::GT("last_seen".to_string(), ConditionValue::Literal("1234".to_string()))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | .filter(Condition::GT("last_seen".to_string(), ConditionValue::Literal("1234".to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | .root_filter(Condition::EQ("node_key".to_string(), ConditionValue::String("fake_node_key".to_string()))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:35:68 [INFO] [stdout] | [INFO] [stdout] 35 | .root_filter(Condition::EQ("node_key".to_string(), ConditionValue::String("fake_node_key".to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | Predicate::Field(Field::new("node_key")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | Predicate::Field(Field::new("node_key")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | Predicate::Field(Field::new("first_seen")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | Predicate::Field(Field::new("first_seen")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Predicate::Field(Field::new("last_seen")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | Predicate::Field(Field::new("last_seen")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | Predicate::Edge(EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeBuilder` [INFO] [stdout] --> src/tests.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | Predicate::Edge(EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::EdgeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | ... Predicate::Field(Field::new("org_name")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | ... Predicate::Field(Field::new("org_name")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ... Predicate::Edge(EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeBuilder` [INFO] [stdout] --> src/tests.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | ... Predicate::Edge(EdgeBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::EdgeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | ... .filter(Condition::EQ("inner_predicate".to_string(), ConditionValue::String("A string".to_string()))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:48:86 [INFO] [stdout] | [INFO] [stdout] 48 | ... .filter(Condition::EQ("inner_predicate".to_string(), ConditionValue::String("A string".to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | ... Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | ... Predicate::Field(Field::new("dgraph.type").alias("dgraph_type")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | ... Predicate::Field(Field::new("dgraph.type").alias("dgraph_type")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | ... Predicate::Count(Field::new("widgets")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | ... Predicate::Count(Field::new("widgets")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | .query_type(QueryBlockType::query()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::queryblock::QueryBlockType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | .root_filter(Condition::EQ("last_seen".to_string(), ConditionValue::Val(Variable::new("TIME")))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | .root_filter(Condition::EQ("last_seen".to_string(), ConditionValue::Val(Variable::new("TIME")))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variable` [INFO] [stdout] --> src/tests.rs:60:89 [INFO] [stdout] | [INFO] [stdout] 60 | .root_filter(Condition::EQ("last_seen".to_string(), ConditionValue::Val(Variable::new("TIME")))) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | Predicate::Field(Field::new("uid")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | Predicate::Field(Field::new("last_seen")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | Predicate::Field(Field::new("last_seen")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | Predicate::Field(Field::new("node_key")), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | Predicate::Field(Field::new("node_key")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | Predicate::Val(Variable::new("TIME").alias("foo")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variable` [INFO] [stdout] --> src/tests.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | Predicate::Val(Variable::new("TIME").alias("foo")) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let new_node_1 = MutationUID::placeholder(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let new_node_2 = MutationUID::placeholder(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let new_node_3 = MutationUID::placeholder(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationBuilder` [INFO] [stdout] --> src/tests.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | let mutation = MutationBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::MutationBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | MutationUnit::new(new_node_1.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | .predicate("pred", MutationPredicateValue::String("Some Value".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | .predicate("edge", MutationPredicateValue::Edges(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | MutationUnit::new(new_node_2.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | .predicate("pred", MutationPredicateValue::String("Some Value".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | .predicate("edge", MutationPredicateValue::Edges(vec![new_node_3.clone()])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | MutationUnit::new(new_node_3.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | .predicate("pred", MutationPredicateValue::String("Some Value".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let new_node_1 = MutationUID::placeholder(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBuilder` [INFO] [stdout] --> src/tests.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let query = QueryBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockType` [INFO] [stdout] --> src/tests.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | .query_type(QueryBlockType::query()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::queryblock::QueryBlockType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | .root_filter(Condition::has("pred")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | .filter(Condition::EQ("pred".to_string(), ConditionValue::string("Some Value2"))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:107:59 [INFO] [stdout] | [INFO] [stdout] 107 | .filter(Condition::EQ("pred".to_string(), ConditionValue::string("Some Value2"))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | Predicate::ScalarVariable("SUBJECT_NODE".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:109:75 [INFO] [stdout] | [INFO] [stdout] 109 | Predicate::ScalarVariable("SUBJECT_NODE".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationBuilder` [INFO] [stdout] --> src/tests.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let mutation = MutationBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::MutationBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | MutationUnit::new(new_node_1) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | .predicate("pred", MutationPredicateValue::string("Some Value2")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | .predicate("upserted", MutationPredicateValue::Bool(true)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Upsert` [INFO] [stdout] --> src/tests.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation).cond(Condition::EQ(Condition::len("SUBJECT_NODE"), ConditionV... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::upsert::Upsert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpsertBlock` [INFO] [stdout] --> src/tests.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation).cond(Condition::EQ(Condition::len("SUBJECT_NODE"), ConditionV... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::upsert::UpsertBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:121:82 [INFO] [stdout] | [INFO] [stdout] 121 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation).cond(Condition::EQ(Condition::len("SUBJECT_NODE"), ConditionV... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:121:96 [INFO] [stdout] | [INFO] [stdout] 121 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation).cond(Condition::EQ(Condition::len("SUBJECT_NODE"), ConditionV... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:121:128 [INFO] [stdout] | [INFO] [stdout] 121 | ...d(Condition::EQ(Condition::len("SUBJECT_NODE"), ConditionValue::literal_int(0)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBuilder` [INFO] [stdout] --> src/tests.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let query = QueryBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | .root_filter(Condition::EQ(format!("node_key"), ConditionValue::String(node_key_1))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | .root_filter(Condition::EQ(format!("node_key"), ConditionValue::String(node_key_1))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | Predicate::ScalarVariable("SUBJECT_NODE".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:137:75 [INFO] [stdout] | [INFO] [stdout] 137 | Predicate::ScalarVariable("SUBJECT_NODE".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryBlockBuilder` [INFO] [stdout] --> src/tests.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | QueryBlockBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::QueryBlockBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condition` [INFO] [stdout] --> src/tests.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | .root_filter(Condition::EQ(format!("node_key"), ConditionValue::String(node_key_2))) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::Condition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConditionValue` [INFO] [stdout] --> src/tests.rs:142:65 [INFO] [stdout] | [INFO] [stdout] 142 | .root_filter(Condition::EQ(format!("node_key"), ConditionValue::String(node_key_2))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::condition::ConditionValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Predicate` [INFO] [stdout] --> src/tests.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | Predicate::ScalarVariable("SUBJECT_NODE_2".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Predicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/tests.rs:144:77 [INFO] [stdout] | [INFO] [stdout] 144 | Predicate::ScalarVariable("SUBJECT_NODE_2".to_string(), Field::new("uid")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::predicate::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationBuilder` [INFO] [stdout] --> src/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let mutation = MutationBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::MutationBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | MutationUnit::new(MutationUID::variable("SUBJECT_NODE")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | MutationUnit::new(MutationUID::variable("SUBJECT_NODE")) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | .predicate("edge_1", MutationPredicateValue::Edges(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | MutationUID::variable("SUBJECT_NODE_2") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUnit` [INFO] [stdout] --> src/tests.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | MutationUnit::new(MutationUID::variable("SUBJECT_NODE_2")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | MutationUnit::new(MutationUID::variable("SUBJECT_NODE_2")) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationPredicateValue` [INFO] [stdout] --> src/tests.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | .predicate("edge_2", MutationPredicateValue::Edge(MutationUID::variable("SUBJECT_NODE"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationPredicateValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutationUID` [INFO] [stdout] --> src/tests.rs:156:67 [INFO] [stdout] | [INFO] [stdout] 156 | .predicate("edge_2", MutationPredicateValue::Edge(MutationUID::variable("SUBJECT_NODE"))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mutation::MutationUID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Upsert` [INFO] [stdout] --> src/tests.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::upsert::Upsert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpsertBlock` [INFO] [stdout] --> src/tests.rs:159:50 [INFO] [stdout] | [INFO] [stdout] 159 | let upsert = Upsert::new(query).upsert_block(UpsertBlock::new(mutation)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::upsert::UpsertBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> src/tests.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let schema = Schema::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchemaDefinition` [INFO] [stdout] --> src/tests.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | .add_definition(SchemaDefinition::new("Organization") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::SchemaDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateDefinition` [INFO] [stdout] --> src/tests.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | .add_predicate(PredicateDefinition::new("first_seen", PredicateType::INT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::PredicateDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateDefinition` [INFO] [stdout] --> src/tests.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | .add_predicate(PredicateDefinition::new("last_seen", PredicateType::INT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::PredicateDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateDefinition` [INFO] [stdout] --> src/tests.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | .add_predicate(PredicateDefinition::new("node_key", PredicateType::String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::PredicateDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PredicateDefinition` [INFO] [stdout] --> src/tests.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | .add_predicate(PredicateDefinition::new("org_name", PredicateType::String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::PredicateDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 127 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dgraph_query_lib` due to 128 previous errors [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8e60591a88bf3be31d8b2d8739c796e78c4ec51d7e05c90af9f0733901e3a7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e60591a88bf3be31d8b2d8739c796e78c4ec51d7e05c90af9f0733901e3a7dc", kill_on_drop: false }` [INFO] [stdout] 8e60591a88bf3be31d8b2d8739c796e78c4ec51d7e05c90af9f0733901e3a7dc