[INFO] cloning repository https://github.com/stormZhu/study-query-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stormZhu/study-query-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstormZhu%2Fstudy-query-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstormZhu%2Fstudy-query-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d387bfc72283c6a1f8e5020ebd1c8cfa5d463b8f [INFO] checking stormZhu/study-query-engine against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstormZhu%2Fstudy-query-engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stormZhu/study-query-engine [INFO] finished tweaking git repo https://github.com/stormZhu/study-query-engine [INFO] tweaked toml for git repo https://github.com/stormZhu/study-query-engine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stormZhu/study-query-engine on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stormZhu/study-query-engine 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7c8d3e73fb2b05c53c8d16e980f697504b6d655f26ab149dfbe160983348289 [INFO] running `Command { std: "docker" "start" "-a" "e7c8d3e73fb2b05c53c8d16e980f697504b6d655f26ab149dfbe160983348289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7c8d3e73fb2b05c53c8d16e980f697504b6d655f26ab149dfbe160983348289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c8d3e73fb2b05c53c8d16e980f697504b6d655f26ab149dfbe160983348289", kill_on_drop: false }` [INFO] [stdout] e7c8d3e73fb2b05c53c8d16e980f697504b6d655f26ab149dfbe160983348289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea99aa3c8396b15c75b151ca2b4b5e7aafcd731e584387defd72ba98eb5dd6a [INFO] running `Command { std: "docker" "start" "-a" "eea99aa3c8396b15c75b151ca2b4b5e7aafcd731e584387defd72ba98eb5dd6a", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking arrow-schema v54.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking lexical-util v1.0.6 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lexical-parse-integer v1.0.5 [INFO] [stderr] Checking lexical-write-integer v1.0.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lexical-parse-float v1.0.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling flatbuffers v24.12.23 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking lexical-write-float v1.0.5 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking lexical-core v1.0.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking arrow-buffer v54.1.0 [INFO] [stderr] Checking arrow-data v54.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking arrow-array v54.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking arrow-select v54.1.0 [INFO] [stderr] Checking arrow-ipc v54.1.0 [INFO] [stderr] Checking arrow-row v54.1.0 [INFO] [stderr] Checking arrow-arith v54.1.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking comfy-table v7.1.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking arrow-cast v54.1.0 [INFO] [stderr] Checking arrow-string v54.1.0 [INFO] [stderr] Checking arrow-ord v54.1.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking arrow-csv v54.1.0 [INFO] [stderr] Checking arrow-json v54.1.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking arrow v54.1.0 [INFO] [stderr] Checking study-query-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem_source::*` [INFO] [stdout] --> src/datasource/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mem_source::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/datatypes/values.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Array, ArrayData, ArrayRef, BooleanArray, Float32Array, Float64Array, Int8Array, Int16Array, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow::array::RecordBatch` [INFO] [stdout] --> src/execution/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use arrow::array::RecordBatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physical::plan` [INFO] [stdout] --> src/logical/plan/plan.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::physical::plan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow::datatypes::SchemaRef` [INFO] [stdout] --> src/logical/plan/projection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use arrow::datatypes::SchemaRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `values::ScalarValue` [INFO] [stdout] --> src/physical/expr/binary.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | datatypes::{operator::Operator, values::ScalarValue}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `div`, `mul_wrapping`, and `sub_wrapping` [INFO] [stdout] --> src/physical/expr/binary.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | compute::kernels::numeric::{add_wrapping, div, mul_wrapping, sub_wrapping}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/datatypes/values.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Array, ArrayData, ArrayRef, BooleanArray, Float32Array, Float64Array, Int8Array, Int16Array, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow::array::RecordBatch` [INFO] [stdout] --> src/execution/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use arrow::array::RecordBatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physical::plan` [INFO] [stdout] --> src/logical/plan/plan.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::physical::plan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow::datatypes::SchemaRef` [INFO] [stdout] --> src/logical/plan/projection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use arrow::datatypes::SchemaRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/logical/plan/scan.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `values::ScalarValue` [INFO] [stdout] --> src/physical/expr/binary.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | datatypes::{operator::Operator, values::ScalarValue}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `div`, `mul_wrapping`, and `sub_wrapping` [INFO] [stdout] --> src/physical/expr/binary.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | compute::kernels::numeric::{add_wrapping, div, mul_wrapping, sub_wrapping}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/datasource/csv_source.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn scan(&self, projection: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/datasource/mem_source.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn scan(&self, projection: Option>) -> crate::error::Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/datasource/csv_source.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn scan(&self, projection: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/datasource/mem_source.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn scan(&self, projection: Option>) -> crate::error::Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/physical/expr/binary.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | (Scalar(l), Scalar(r)) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/physical/expr/binary.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | (Scalar(l), Scalar(r)) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physical/plan/projection.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut batch = self.input.execute()?; [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: `l` [INFO] [stdout] --> src/physical/expr/binary.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | (Scalar(l), Scalar(r)) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/physical/expr/binary.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | (Scalar(l), Scalar(r)) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataSource` is never used [INFO] [stdout] --> src/datasource/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DataSource: Debug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CsvDataSource` is never constructed [INFO] [stdout] --> src/datasource/csv_source.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CsvDataSource { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `try_new` and `infer_schema` are never used [INFO] [stdout] --> src/datasource/csv_source.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CsvDataSource { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 29 | pub fn try_new(path: impl Into, options: CsvReadOptions) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn infer_schema(path: &str, options: &CsvReadOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemDataSource` is never constructed [INFO] [stdout] --> src/datasource/mem_source.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MemDataSource {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_arc` are never used [INFO] [stdout] --> src/datasource/mem_source.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl MemDataSource { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new_arc() -> Arc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/datatypes/operator.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScalarValue` is never used [INFO] [stdout] --> src/datatypes/values.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ScalarValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_array`, `data_type`, and `to_scalar` are never used [INFO] [stdout] --> src/datatypes/values.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl ScalarValue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 67 | pub fn to_array(&self, num_rows: usize) -> ArrayRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn data_type(&self) -> DataType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn to_scalar(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Result = anyhow::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DBError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum DBError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionContext` is never constructed [INFO] [stdout] --> src/execution/context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SessionContext; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `csv` are never used [INFO] [stdout] --> src/execution/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SessionContext { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn csv(&self, path: impl Into, options: CsvReadOptions) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataFrame` is never constructed [INFO] [stdout] --> src/execution/data_frame.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DataFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `project`, `filter`, `plan`, and `collect` are never used [INFO] [stdout] --> src/execution/data_frame.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl DataFrame { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(plan: LogicalPlan) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn project(self, columns: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn filter(self, expr: LogicalExpr) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn plan(&self) -> &LogicalPlan { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn collect(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Planner` is never constructed [INFO] [stdout] --> src/execution/planner.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Planner; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_physical_plan` and `create_physical_expr` are never used [INFO] [stdout] --> src/execution/planner.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Planner { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 17 | pub fn create_physical_plan(plan: &LogicalPlan) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn create_physical_expr(schema: &Schema, expr: &LogicalExpr) -> PhysicalExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AggregateExpr` is never constructed [INFO] [stdout] --> src/logical/expression/aggregate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct AggregateExpr {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/logical/expression/binary.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logical/expression/binary.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl BinaryExpr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(lhs: Arc, op: Operator, rhs: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> src/logical/expression/column.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Column { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_field`, and `to_field_from_plan` are never used [INFO] [stdout] --> src/logical/expression/column.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Column { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn to_field(&self, schema: &Schema) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn to_field_from_plan(&self, plan: &LogicalPlan) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogicalExpr` is never used [INFO] [stdout] --> src/logical/expression/expr.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LogicalExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_field` and `data_type` are never used [INFO] [stdout] --> src/logical/expression/expr.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl LogicalExpr { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 32 | pub fn to_field(&self, plan: &LogicalPlan) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn data_type(&self, schema: &Schema) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `col` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn col(name: impl Into) -> LogicalExpr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lit` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn lit(value: T) -> LogicalExpr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LiteralExt` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait LiteralExt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_expr` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn binary_expr(lhs: LogicalExpr, op: Operator, rhs: LogicalExpr) -> LogicalExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | make_expr_fn!(eq, Eq); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | make_expr_fn!(neq, NotEq); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | make_expr_fn!(lt, Lt); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt_eq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | make_expr_fn!(lt_eq, LtEq); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gt` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | make_expr_fn!(gt, Gt); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gt_eq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | make_expr_fn!(gt_eq, GtEq); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | make_expr_fn!(and, And); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `or` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | make_expr_fn!(or, Or); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | make_expr_fn!(add, Plus); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `minus` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | make_expr_fn!(minus, Minus); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aggregate` is never constructed [INFO] [stdout] --> src/logical/plan/aggregate.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Aggregate {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/logical/plan/filter.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logical/plan/filter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Filter { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(input: Arc, predicate: LogicalExpr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogicalPlan` is never used [INFO] [stdout] --> src/logical/plan/plan.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LogicalPlan { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `children` and `schema` are never used [INFO] [stdout] --> src/logical/plan/plan.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LogicalPlan { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 18 | pub fn children(&self) -> Vec<&LogicalPlan> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_plan` is never used [INFO] [stdout] --> src/logical/plan/plan.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn format_plan(plan: &LogicalPlan, indent: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projection` is never constructed [INFO] [stdout] --> src/logical/plan/projection.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Projection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logical/plan/projection.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Projection { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(input: Arc, exprs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scan` is never constructed [INFO] [stdout] --> src/logical/plan/scan.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scan { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logical/plan/scan.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scan { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColumnarValue` is never used [INFO] [stdout] --> src/physical/expr/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ColumnarValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_array` is never used [INFO] [stdout] --> src/physical/expr/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ColumnarValue { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 17 | /// Convert the variant into an [`arrow::array::ArrayRef`]. [INFO] [stdout] 18 | pub fn into_array(self, num_rows: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhysicalExpression` is never used [INFO] [stdout] --> src/physical/expr/mod.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum PhysicalExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evalate` is never used [INFO] [stdout] --> src/physical/expr/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl PhysicalExpression { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 36 | pub fn evalate(&self, batch: &RecordBatch) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/physical/expr/binary.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BinaryExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evalate`, and `apply` are never used [INFO] [stdout] --> src/physical/expr/binary.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BinaryExpr { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(lhs: Arc, op: Operator, rhs: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn evalate(&self, batch: &RecordBatch) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physical/plan/projection.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut batch = self.input.execute()?; [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: struct `ColumnExpr` is never constructed [INFO] [stdout] --> src/physical/expr/column.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColumnExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `evalate` are never used [INFO] [stdout] --> src/physical/expr/column.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ColumnExpr { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(name: impl Into, index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn evalate(&self, batch: &RecordBatch) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LiteralExpr` is never constructed [INFO] [stdout] --> src/physical/expr/literal.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LiteralExpr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `evalate` are never used [INFO] [stdout] --> src/physical/expr/literal.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LiteralExpr { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(value: ScalarValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn evalate(&self, _batch: &RecordBatch) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhysicalPlan` is never used [INFO] [stdout] --> src/physical/plan/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum PhysicalPlan { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `schema` are never used [INFO] [stdout] --> src/physical/plan/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PhysicalPlan { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 19 | pub fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterExec` is never constructed [INFO] [stdout] --> src/physical/plan/filter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FilterExec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/physical/plan/filter.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilterExec { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(input: Arc, predicate: PhysicalExpression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectionExec` is never constructed [INFO] [stdout] --> src/physical/plan/projection.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ProjectionExec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/physical/plan/projection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ProjectionExec { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanExec` is never constructed [INFO] [stdout] --> src/physical/plan/scan.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScanExec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute`, and `schema` are never used [INFO] [stdout] --> src/physical/plan/scan.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ScanExec { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(path: String, ds: Arc, projection: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/datatypes/operator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | Eq, [INFO] [stdout] 6 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | LtEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | GtEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Plus, [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean`, `Float32`, `Float64`, and `String` are never constructed [INFO] [stdout] --> src/datatypes/values.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ScalarValue { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 12 | Null, [INFO] [stdout] 13 | Boolean(Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Float32(Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Float64(Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | String(Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarValue` 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: enum `DBError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum DBError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_field_from_plan` is never used [INFO] [stdout] --> src/logical/expression/column.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Column { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn to_field_from_plan(&self, plan: &LogicalPlan) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aggregate` is never constructed [INFO] [stdout] --> src/logical/expression/expr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LogicalExpr { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Aggregate(AggregateExpr), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalExpr` 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: method `neq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | make_expr_fn!(neq, NotEq); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | make_expr_fn!(lt, Lt); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt_eq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | make_expr_fn!(lt_eq, LtEq); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gt` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | make_expr_fn!(gt, Gt); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gt_eq` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | make_expr_fn!(gt_eq, GtEq); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | make_expr_fn!(and, And); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `or` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | make_expr_fn!(or, Or); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `minus` is never used [INFO] [stdout] --> src/logical/expression/expr_fn.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 43 | impl LogicalExpr { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | make_expr_fn!(minus, Minus); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_expr_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aggregate` is never constructed [INFO] [stdout] --> src/logical/plan/plan.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LogicalPlan { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Aggregate(Aggregate), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalPlan` 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 `name` is never read [INFO] [stdout] --> src/physical/expr/column.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColumnExpr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | /// The column name. [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `schema` is never used [INFO] [stdout] --> src/physical/plan/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PhysicalPlan { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `predicate` is never read [INFO] [stdout] --> src/physical/plan/filter.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FilterExec { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | pub input: Arc, [INFO] [stdout] 11 | pub predicate: PhysicalExpression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/physical/plan/scan.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScanExec { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `schema` is never used [INFO] [stdout] --> src/physical/plan/scan.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ScanExec { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn schema(&self) -> SchemaRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/datasource/csv_source.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pretty::print_batches(&[ret]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = pretty::print_batches(&[ret]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.63s [INFO] running `Command { std: "docker" "inspect" "eea99aa3c8396b15c75b151ca2b4b5e7aafcd731e584387defd72ba98eb5dd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea99aa3c8396b15c75b151ca2b4b5e7aafcd731e584387defd72ba98eb5dd6a", kill_on_drop: false }` [INFO] [stdout] eea99aa3c8396b15c75b151ca2b4b5e7aafcd731e584387defd72ba98eb5dd6a