[INFO] fetching crate kotoba-execution 0.1.22... [INFO] testing kotoba-execution-0.1.22 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kotoba-execution 0.1.22 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate kotoba-execution 0.1.22 [INFO] finished tweaking crates.io crate kotoba-execution 0.1.22 [INFO] tweaked toml for crates.io crate kotoba-execution 0.1.22 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kotoba-execution 0.1.22 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kotoba-execution 0.1.22 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3f87aea9197228b42e6b4bb878d97bc869416b78d289f77cc7b897471baea02 [INFO] running `Command { std: "docker" "start" "-a" "b3f87aea9197228b42e6b4bb878d97bc869416b78d289f77cc7b897471baea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3f87aea9197228b42e6b4bb878d97bc869416b78d289f77cc7b897471baea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f87aea9197228b42e6b4bb878d97bc869416b78d289f77cc7b897471baea02", kill_on_drop: false }` [INFO] [stdout] b3f87aea9197228b42e6b4bb878d97bc869416b78d289f77cc7b897471baea02 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7488c6553430126a1ce89412e6c6a183b9d3a23ebc8f25bf54b5b996cedde1c1 [INFO] running `Command { std: "docker" "start" "-a" "7488c6553430126a1ce89412e6c6a183b9d3a23ebc8f25bf54b5b996cedde1c1", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling kotoba-errors v0.1.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling kotoba-storage v0.1.22 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling kotoba-core v0.1.22 [INFO] [stderr] Compiling kotoba-execution v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kotoba_core::types::*` [INFO] [stdout] --> src/execution/physical_plan.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kotoba_core::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/logical.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/optimizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalPlan` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalPlan` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalOp` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalOp` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gql` [INFO] [stdout] --> src/execution/executor.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/execution/executor.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/execution/executor.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `skip` is assigned to, but never used [INFO] [stdout] --> src/execution/gql_parser.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut skip = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_skip` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | skip = skip_part.trim().parse::().ok(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_part` [INFO] [stdout] --> src/execution/gql_parser.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let (pattern_part, where_part) = if let Some(where_pos) = match_clause.to_lowercase().find(" where ") { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | async fn execute(&self, plan: PhysicalPlan) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DefaultQueryExecutor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 22 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/execution/executor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryExecutor { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryExecutor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable`, `min_hops`, and `max_hops` are never read [INFO] [stdout] --> src/execution/gql_parser.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct EdgeHop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | variable: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | min_hops: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | max_hops: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgeHop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `distinct` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ReturnClause { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 54 | items: Vec, [INFO] [stdout] 55 | distinct: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnClause` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlgorithmCall` is never constructed [INFO] [stdout] --> src/execution/gql_parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct AlgorithmCall { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/execution/physical_plan.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/execution/metrics.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinPlan` is never constructed [INFO] [stdout] --> src/planner/optimizer.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct JoinPlan { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `estimate_cost` is never used [INFO] [stdout] --> src/planner/optimizer.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl QueryOptimizer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 474 | fn estimate_cost(&self, op: &LogicalOp, catalog: &Catalog) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.62s [INFO] running `Command { std: "docker" "inspect" "7488c6553430126a1ce89412e6c6a183b9d3a23ebc8f25bf54b5b996cedde1c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7488c6553430126a1ce89412e6c6a183b9d3a23ebc8f25bf54b5b996cedde1c1", kill_on_drop: false }` [INFO] [stdout] 7488c6553430126a1ce89412e6c6a183b9d3a23ebc8f25bf54b5b996cedde1c1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 778a89df4d59055b9f0fd5b8e817597c01a1ca76a9983a175ff6b1e189377519 [INFO] running `Command { std: "docker" "start" "-a" "778a89df4d59055b9f0fd5b8e817597c01a1ca76a9983a175ff6b1e189377519", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `kotoba_core::types::*` [INFO] [stdout] --> src/execution/physical_plan.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kotoba_core::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/logical.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/optimizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalPlan` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalPlan` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalOp` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalOp` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gql` [INFO] [stdout] --> src/execution/executor.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/execution/executor.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/execution/executor.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `skip` is assigned to, but never used [INFO] [stdout] --> src/execution/gql_parser.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut skip = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_skip` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | skip = skip_part.trim().parse::().ok(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_part` [INFO] [stdout] --> src/execution/gql_parser.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let (pattern_part, where_part) = if let Some(where_pos) = match_clause.to_lowercase().find(" where ") { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | async fn execute(&self, plan: PhysicalPlan) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DefaultQueryExecutor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 22 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/execution/executor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryExecutor { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryExecutor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable`, `min_hops`, and `max_hops` are never read [INFO] [stdout] --> src/execution/gql_parser.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct EdgeHop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | variable: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | min_hops: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | max_hops: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgeHop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `distinct` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ReturnClause { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 54 | items: Vec, [INFO] [stdout] 55 | distinct: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnClause` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlgorithmCall` is never constructed [INFO] [stdout] --> src/execution/gql_parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct AlgorithmCall { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kotoba-execution v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/execution/physical_plan.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/execution/metrics.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinPlan` is never constructed [INFO] [stdout] --> src/planner/optimizer.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct JoinPlan { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `estimate_cost` is never used [INFO] [stdout] --> src/planner/optimizer.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl QueryOptimizer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 474 | fn estimate_cost(&self, op: &LogicalOp, catalog: &Catalog) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kotoba_memory` [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use kotoba_memory::MemoryKeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `kotoba_memory` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - use kotoba_memory::MemoryKeyValueStore; [INFO] [stdout] 55 + use kotoba_core::MemoryKeyValueStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let column = Column::new("id".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let column = Column::new("name".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | let scan_op = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | let scan_op = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | PhysicalOp::Scan { table, filter, projection } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let filter_op = PhysicalOp::Filter { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | PhysicalOp::Filter { input, condition } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | let projection_op = PhysicalOp::Projection { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | PhysicalOp::Projection { input, expressions } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let sort_op = PhysicalOp::Sort { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | ("price".to_string(), SortDirection::Desc), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 190 - ("price".to_string(), SortDirection::Desc), [INFO] [stdout] 190 + ("price".to_string(), Direction::Desc), [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:191:38 [INFO] [stdout] | [INFO] [stdout] 191 | ("name".to_string(), SortDirection::Asc), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 191 - ("name".to_string(), SortDirection::Asc), [INFO] [stdout] 191 + ("name".to_string(), Direction::Asc), [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | PhysicalOp::Sort { input, order_by } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "products"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(order_by[0].1, SortDirection::Desc); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 202 - assert_eq!(order_by[0].1, SortDirection::Desc); [INFO] [stdout] 202 + assert_eq!(order_by[0].1, Direction::Desc); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:203:43 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(order_by[1].1, SortDirection::Asc); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 203 - assert_eq!(order_by[1].1, SortDirection::Asc); [INFO] [stdout] 203 + assert_eq!(order_by[1].1, Direction::Asc); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let group_by_op = PhysicalOp::GroupBy { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AggregateExpr` in this scope [INFO] [stdout] --> src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | AggregateExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | function: AggregateFunction::Sum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AggregateExpr` in this scope [INFO] [stdout] --> src/lib.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | AggregateExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | function: AggregateFunction::Count, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | PhysicalOp::GroupBy { input, group_by, aggregates } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "orders"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:241:52 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(aggregates[0].function, AggregateFunction::Sum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:242:52 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(aggregates[1].function, AggregateFunction::Count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let join_op = PhysicalOp::Join { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | left: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | right: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | join_type: JoinType::Inner, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | PhysicalOp::Join { left, right, join_type, condition } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "orders"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(join_type, JoinType::Inner); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | let union_op = PhysicalOp::Union { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | left: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | right: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | PhysicalOp::Union { left, right } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "active_users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "inactive_users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let limit_op = PhysicalOp::Limit { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | PhysicalOp::Limit { input, limit, offset } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "products"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AggregateExpr` in this scope [INFO] [stdout] --> src/lib.rs:343:30 [INFO] [stdout] | [INFO] [stdout] 343 | let aggregate_expr = AggregateExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:344:23 [INFO] [stdout] | [INFO] [stdout] 344 | function: AggregateFunction::Avg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:349:45 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(aggregate_expr.function, AggregateFunction::Avg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:359:20 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(SortDirection::Asc as u8, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 359 - assert_eq!(SortDirection::Asc as u8, 0); [INFO] [stdout] 359 + assert_eq!(Direction::Asc as u8, 0); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(SortDirection::Desc as u8, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 360 - assert_eq!(SortDirection::Desc as u8, 1); [INFO] [stdout] 360 + assert_eq!(Direction::Desc as u8, 1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | assert_eq!(JoinType::Inner as u8, 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(JoinType::Left as u8, 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(JoinType::Right as u8, 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | assert_eq!(JoinType::Full as u8, 3); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(AggregateFunction::Count as u8, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(AggregateFunction::Sum as u8, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(AggregateFunction::Avg as u8, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | assert_eq!(AggregateFunction::Min as u8, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | assert_eq!(AggregateFunction::Max as u8, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | assert_eq!(AggregateFunction::CountDistinct as u8, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | let scan_op = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:400:52 [INFO] [stdout] | [INFO] [stdout] 400 | let plan = PhysicalPlan::new(scan_op, vec![Column::new("id".to_string(), "String".to_string())]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | PhysicalOp::Projection { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:413:33 [INFO] [stdout] | [INFO] [stdout] 413 | input: Box::new(PhysicalOp::Sort { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:414:37 [INFO] [stdout] | [INFO] [stdout] 414 | input: Box::new(PhysicalOp::Filter { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:415:41 [INFO] [stdout] | [INFO] [stdout] 415 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:426:57 [INFO] [stdout] | [INFO] [stdout] 426 | order_by: vec![("name".to_string(), SortDirection::Asc)], [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 426 - order_by: vec![("name".to_string(), SortDirection::Asc)], [INFO] [stdout] 426 + order_by: vec![("name".to_string(), Direction::Asc)], [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | Column::new("full_name".to_string(), "String".to_string()), [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | Column::new("user_age".to_string(), "Int".to_string()), [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | PhysicalOp::Projection { expressions, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:456:22 [INFO] [stdout] | [INFO] [stdout] 456 | let column = Column::new("test_col".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:457:23 [INFO] [stdout] | [INFO] [stdout] 457 | let scan_op = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:477:18 [INFO] [stdout] | [INFO] [stdout] 477 | vec![Column::new("id".to_string(), "String".to_string())], [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | PhysicalOp::Scan { table, .. } => assert_eq!(table, "users"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | PhysicalOp::Limit { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:495:33 [INFO] [stdout] | [INFO] [stdout] 495 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | vec![Column::new("col".to_string(), "String".to_string())], [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:514:22 [INFO] [stdout] | [INFO] [stdout] 514 | let column = Column::new("test_column".to_string(), "Integer".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:522:24 [INFO] [stdout] | [INFO] [stdout] 522 | let original = Column::new("original".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:530:20 [INFO] [stdout] | [INFO] [stdout] 530 | let col1 = Column::new("test".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | let col2 = Column::new("test".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:532:20 [INFO] [stdout] | [INFO] [stdout] 532 | let col3 = Column::new("different".to_string(), "String".to_string()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:544:23 [INFO] [stdout] | [INFO] [stdout] 544 | let scan_op = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Column` [INFO] [stdout] --> src/lib.rs:549:52 [INFO] [stdout] | [INFO] [stdout] 549 | let plan = PhysicalPlan::new(scan_op, vec![Column::new("id".to_string(), "String".to_string())]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Column` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::Column; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | let complex_op = PhysicalOp::Limit { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:572:29 [INFO] [stdout] | [INFO] [stdout] 572 | input: Box::new(PhysicalOp::Union { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:573:32 [INFO] [stdout] | [INFO] [stdout] 573 | left: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | right: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | PhysicalOp::Limit { input, limit, offset } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | PhysicalOp::Union { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:608:20 [INFO] [stdout] | [INFO] [stdout] 608 | let scan = PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:613:32 [INFO] [stdout] | [INFO] [stdout] 613 | assert!(matches!(scan, PhysicalOp::Scan { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:616:22 [INFO] [stdout] | [INFO] [stdout] 616 | let filter = PhysicalOp::Filter { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:620:34 [INFO] [stdout] | [INFO] [stdout] 620 | assert!(matches!(filter, PhysicalOp::Filter { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:623:26 [INFO] [stdout] | [INFO] [stdout] 623 | let projection = PhysicalOp::Projection { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:624:29 [INFO] [stdout] | [INFO] [stdout] 624 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:631:38 [INFO] [stdout] | [INFO] [stdout] 631 | assert!(matches!(projection, PhysicalOp::Projection { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 634 | let sort = PhysicalOp::Sort { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:635:29 [INFO] [stdout] | [INFO] [stdout] 635 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:642:32 [INFO] [stdout] | [INFO] [stdout] 642 | assert!(matches!(sort, PhysicalOp::Sort { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:645:24 [INFO] [stdout] | [INFO] [stdout] 645 | let group_by = PhysicalOp::GroupBy { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 646 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:654:36 [INFO] [stdout] | [INFO] [stdout] 654 | assert!(matches!(group_by, PhysicalOp::GroupBy { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:657:20 [INFO] [stdout] | [INFO] [stdout] 657 | let join = PhysicalOp::Join { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:658:28 [INFO] [stdout] | [INFO] [stdout] 658 | left: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:663:29 [INFO] [stdout] | [INFO] [stdout] 663 | right: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:668:24 [INFO] [stdout] | [INFO] [stdout] 668 | join_type: JoinType::Inner, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:671:32 [INFO] [stdout] | [INFO] [stdout] 671 | assert!(matches!(join, PhysicalOp::Join { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:674:21 [INFO] [stdout] | [INFO] [stdout] 674 | let union = PhysicalOp::Union { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:675:28 [INFO] [stdout] | [INFO] [stdout] 675 | left: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | right: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:686:33 [INFO] [stdout] | [INFO] [stdout] 686 | assert!(matches!(union, PhysicalOp::Union { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:689:21 [INFO] [stdout] | [INFO] [stdout] 689 | let limit = PhysicalOp::Limit { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:690:29 [INFO] [stdout] | [INFO] [stdout] 690 | input: Box::new(PhysicalOp::Scan { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalOp` [INFO] [stdout] --> src/lib.rs:698:33 [INFO] [stdout] | [INFO] [stdout] 698 | assert!(matches!(limit, PhysicalOp::Limit { .. })); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PhysicalOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 52 + use crate::planner::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::PhysicalOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:704:21 [INFO] [stdout] | [INFO] [stdout] 704 | let count = AggregateFunction::Count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:705:19 [INFO] [stdout] | [INFO] [stdout] 705 | let sum = AggregateFunction::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:706:19 [INFO] [stdout] | [INFO] [stdout] 706 | let avg = AggregateFunction::Avg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:707:19 [INFO] [stdout] | [INFO] [stdout] 707 | let min = AggregateFunction::Min; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:708:19 [INFO] [stdout] | [INFO] [stdout] 708 | let max = AggregateFunction::Max; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AggregateFunction` [INFO] [stdout] --> src/lib.rs:709:30 [INFO] [stdout] | [INFO] [stdout] 709 | let count_distinct = AggregateFunction::CountDistinct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AggregateFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::AggregateFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 722 | let asc = SortDirection::Asc; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 722 - let asc = SortDirection::Asc; [INFO] [stdout] 722 + let asc = Direction::Asc; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | let desc = SortDirection::Desc; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 723 - let desc = SortDirection::Desc; [INFO] [stdout] 723 + let desc = Direction::Desc; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | let inner = JoinType::Inner; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:732:20 [INFO] [stdout] | [INFO] [stdout] 732 | let left = JoinType::Left; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:733:21 [INFO] [stdout] | [INFO] [stdout] 733 | let right = JoinType::Right; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JoinType` [INFO] [stdout] --> src/lib.rs:734:20 [INFO] [stdout] | [INFO] [stdout] 734 | let full = JoinType::Full; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JoinType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::prelude::JoinType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kotoba_core::types::*` [INFO] [stdout] --> src/execution/physical_plan.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kotoba_core::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/logical.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planner/optimizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalPlan` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalPlan` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::execution::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `PhysicalOp` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use crate::planner::*; [INFO] [stdout] | ----------------- but the name `PhysicalOp` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kotoba_core::types::*` [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use kotoba_core::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gql` [INFO] [stdout] --> src/execution/executor.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn execute_gql(&self, gql: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn execute_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/execution/executor.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/execution/executor.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn execute_physical_plan(&self, plan: &str, context: &HashMap) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Boolean` found for enum `kotoba_core::types::Value` in the current scope [INFO] [stdout] --> src/lib.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | condition: Expr::Const(Value::Boolean(true)), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `kotoba_core::types::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Boolean` found for enum `kotoba_core::types::Value` in the current scope [INFO] [stdout] --> src/lib.rs:147:64 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(matches!(condition, Expr::Const(Value::Boolean(true)))); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `kotoba_core::types::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Binary` found for enum `kotoba_core::ir::Expr` [INFO] [stdout] --> src/lib.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | condition: Expr::Binary { [INFO] [stdout] | ^^^^^^ variant not found in `kotoba_core::ir::Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryOp` [INFO] [stdout] --> src/lib.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | op: BinaryOp::Eq, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BinaryOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Binary` found for enum `kotoba_core::ir::Expr` [INFO] [stdout] --> src/lib.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | assert!(matches!(condition, Expr::Binary { .. })); [INFO] [stdout] | ^^^^^^ variant not found in `kotoba_core::ir::Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Binary` found for enum `kotoba_core::ir::Expr` [INFO] [stdout] --> src/lib.rs:420:42 [INFO] [stdout] | [INFO] [stdout] 420 | condition: Expr::Binary { [INFO] [stdout] | ^^^^^^ variant not found in `kotoba_core::ir::Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryOp` [INFO] [stdout] --> src/lib.rs:422:33 [INFO] [stdout] | [INFO] [stdout] 422 | ... op: BinaryOp::Gt, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BinaryOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Boolean` found for enum `kotoba_core::types::Value` in the current scope [INFO] [stdout] --> src/lib.rs:459:45 [INFO] [stdout] | [INFO] [stdout] 459 | filter: Some(Expr::Const(Value::Boolean(true))), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `kotoba_core::types::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `physical_plan::PhysicalPlan: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:465:49 [INFO] [stdout] | [INFO] [stdout] 465 | let json_result = serde_json::to_string(&plan); [INFO] [stdout] | --------------------- ^^^^^ the trait `serde_core::ser::Serialize` is not implemented for `physical_plan::PhysicalPlan` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `physical_plan::PhysicalPlan` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 236 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Boolean` found for enum `kotoba_core::types::Value` in the current scope [INFO] [stdout] --> src/lib.rs:618:43 [INFO] [stdout] | [INFO] [stdout] 618 | condition: Expr::Const(Value::Boolean(true)), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `kotoba_core::types::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Boolean` found for enum `kotoba_core::types::Value` in the current scope [INFO] [stdout] --> src/lib.rs:669:43 [INFO] [stdout] | [INFO] [stdout] 669 | condition: Expr::Const(Value::Boolean(true)), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `kotoba_core::types::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/execution/executor.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/execution/executor.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn evaluate_expr(&self, row: &HashMap, expr: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `skip` is assigned to, but never used [INFO] [stdout] --> src/execution/gql_parser.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut skip = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_skip` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip` is never read [INFO] [stdout] --> src/execution/gql_parser.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | skip = skip_part.trim().parse::().ok(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_part` [INFO] [stdout] --> src/execution/gql_parser.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | let (pattern_part, where_part) = if let Some(where_pos) = match_clause.to_lowercase().find(" where ") { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan` [INFO] [stdout] --> src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | async fn execute(&self, plan: PhysicalPlan) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut metrics = ExecutionMetrics::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/lib.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let executor = DefaultQueryExecutor::new(mock_store); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kotoba-execution` (lib test) due to 145 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "778a89df4d59055b9f0fd5b8e817597c01a1ca76a9983a175ff6b1e189377519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778a89df4d59055b9f0fd5b8e817597c01a1ca76a9983a175ff6b1e189377519", kill_on_drop: false }` [INFO] [stdout] 778a89df4d59055b9f0fd5b8e817597c01a1ca76a9983a175ff6b1e189377519