[INFO] fetching crate polars-plan 0.52.0... [INFO] checking polars-plan-0.52.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate polars-plan 0.52.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate polars-plan 0.52.0 [INFO] finished tweaking crates.io crate polars-plan 0.52.0 [INFO] tweaked toml for crates.io crate polars-plan 0.52.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polars-plan 0.52.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polars-plan 0.52.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 289a7bb2fb0928038b629f97966ef07c58a78f935b8dfd0a324f4b889beb54e4 [INFO] running `Command { std: "docker" "start" "-a" "289a7bb2fb0928038b629f97966ef07c58a78f935b8dfd0a324f4b889beb54e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "289a7bb2fb0928038b629f97966ef07c58a78f935b8dfd0a324f4b889beb54e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289a7bb2fb0928038b629f97966ef07c58a78f935b8dfd0a324f4b889beb54e4", kill_on_drop: false }` [INFO] [stdout] 289a7bb2fb0928038b629f97966ef07c58a78f935b8dfd0a324f4b889beb54e4 [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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b64d9b4ed25b8b551e27d4a91d0898102c89bd456612b800c80057553cdf5254 [INFO] running `Command { std: "docker" "start" "-a" "b64d9b4ed25b8b551e27d4a91d0898102c89bd456612b800c80057553cdf5254", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.2.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling polars-utils v0.52.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling polars-schema v0.52.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking polars-error v0.52.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling polars-arrow v0.52.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling polars-compute v0.52.0 [INFO] [stderr] Checking debug_unsafe v0.1.3 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking boxcar v0.2.13 [INFO] [stderr] Checking atoi_simd v0.16.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Compiling polars-core v0.52.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling polars-ops v0.52.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking argminmax v0.6.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling polars-plan v0.52.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Compiling chrono-tz v0.10.3 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking polars-dtype v0.52.0 [INFO] [stderr] Checking polars-row v0.52.0 [INFO] [stderr] Checking polars-io v0.52.0 [INFO] [stdout] warning: unused import: `polars_core::prelude::DataType` [INFO] [stdout] --> src/dsl/options/sink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_core::prelude::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::arena::Arena` [INFO] [stdout] --> src/dsl/options/sink.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use polars_utils::arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr` [INFO] [stdout] --> src/dsl/options/sink.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::dsl::{AExpr, Expr, SpecialEq}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::cloud::CloudOptions` [INFO] [stdout] --> src/dsl/scan_sources.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_io::cloud::CloudOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expand_paths_hive` and `expanded_from_single_directory` [INFO] [stdout] --> src/dsl/scan_sources.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use polars_io::{expand_paths, expand_paths_hive, expanded_from_single_directory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/dsl/plan.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/dsl/file_scan/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeFlags` [INFO] [stdout] --> src/plans/aexpr/function_expr/boolean.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use polars_core::utils::SuperTypeFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeOptions` [INFO] [stdout] --> src/plans/aexpr/function_expr/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use polars_core::utils::SuperTypeOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::series::ops::NullBehavior` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use polars_core::series::ops::NullBehavior; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeFlags` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use polars_core::utils::SuperTypeFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_ops::series::ClosedInterval` [INFO] [stdout] --> src/plans/aexpr/predicates/column_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_ops::series::ClosedInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_evaluate` [INFO] [stdout] --> src/plans/aexpr/predicates/column_expr.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plans::aexpr::evaluate::{constant_evaluate, into_column}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_scalar_ae` [INFO] [stdout] --> src/plans/aexpr/predicates/skip_batches.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plans::{AExprBuilder, aexpr_to_leaf_names_iter, is_scalar_ae, rename_columns}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_expr_ir` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::plans::conversion::dsl_to_ir::expr_to_ir::{to_expr_ir, to_expr_irs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::RowIndex` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_io::RowIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::utils::compression::maybe_decompress_bytes` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_io::utils::compression::maybe_decompress_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_bail` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use polars_core::error::{PolarsResult, polars_bail, polars_ensure}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `PlHashMap`, and `PlHashSet` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::prelude::{DataType, Field, PlHashMap, PlHashSet}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::schema::Schema` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_core::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileSinkType`, `FileType`, `PartitionSinkTypeIR`, `PartitionVariantIR`, and `SinkTypeIR` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dsl::{FileSinkType, FileType, PartitionSinkTypeIR, PartitionVariantIR, SinkTypeIR}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unpack` [INFO] [stdout] --> src/plans/conversion/type_coercion/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) use unpack; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::plpath::PlPath` [INFO] [stdout] --> src/plans/functions/count.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use polars_utils::plpath::PlPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::BuildHasher` [INFO] [stdout] --> src/plans/optimizer/collect_members.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::BuildHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_bail` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_core::error::{PolarsResult, polars_bail}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_pl_smallstr` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use polars_utils::{format_pl_smallstr, unitvec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnifiedScanArgs` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::dsl::{DslPlan, FileScanIR, UnifiedScanArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnionOptions` [INFO] [stdout] --> src/plans/optimizer/set_order/ir_pushdown.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::dsl::{PartitionVariantIR, SinkTypeIR, UnionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::prelude::DataType` [INFO] [stdout] --> src/dsl/options/sink.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_core::prelude::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::arena::Arena` [INFO] [stdout] --> src/dsl/options/sink.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use polars_utils::arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr` [INFO] [stdout] --> src/dsl/options/sink.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::dsl::{AExpr, Expr, SpecialEq}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::cloud::CloudOptions` [INFO] [stdout] --> src/dsl/scan_sources.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_io::cloud::CloudOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expand_paths_hive` and `expanded_from_single_directory` [INFO] [stdout] --> src/dsl/scan_sources.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use polars_io::{expand_paths, expand_paths_hive, expanded_from_single_directory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/dsl/plan.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/dsl/file_scan/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeFlags` [INFO] [stdout] --> src/plans/aexpr/function_expr/boolean.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use polars_core::utils::SuperTypeFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeOptions` [INFO] [stdout] --> src/plans/aexpr/function_expr/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use polars_core::utils::SuperTypeOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::series::ops::NullBehavior` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use polars_core::series::ops::NullBehavior; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::SuperTypeFlags` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use polars_core::utils::SuperTypeFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_ops::series::ClosedInterval` [INFO] [stdout] --> src/plans/aexpr/predicates/column_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_ops::series::ClosedInterval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_evaluate` [INFO] [stdout] --> src/plans/aexpr/predicates/column_expr.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plans::aexpr::evaluate::{constant_evaluate, into_column}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_scalar_ae` [INFO] [stdout] --> src/plans/aexpr/predicates/skip_batches.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::plans::{AExprBuilder, aexpr_to_leaf_names_iter, is_scalar_ae, rename_columns}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_expr_ir` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::plans::conversion::dsl_to_ir::expr_to_ir::{to_expr_ir, to_expr_irs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::RowIndex` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_io::RowIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::utils::compression::maybe_decompress_bytes` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_io::utils::compression::maybe_decompress_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_bail` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use polars_core::error::{PolarsResult, polars_bail, polars_ensure}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `PlHashMap`, and `PlHashSet` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::prelude::{DataType, Field, PlHashMap, PlHashSet}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::schema::Schema` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_core::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileSinkType`, `FileType`, `PartitionSinkTypeIR`, `PartitionVariantIR`, and `SinkTypeIR` [INFO] [stdout] --> src/plans/conversion/type_check/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dsl::{FileSinkType, FileType, PartitionSinkTypeIR, PartitionVariantIR, SinkTypeIR}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unpack` [INFO] [stdout] --> src/plans/conversion/type_coercion/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) use unpack; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::plpath::PlPath` [INFO] [stdout] --> src/plans/functions/count.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use polars_utils::plpath::PlPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::BuildHasher` [INFO] [stdout] --> src/plans/optimizer/collect_members.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::BuildHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_bail` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_core::error::{PolarsResult, polars_bail}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_pl_smallstr` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use polars_utils::{format_pl_smallstr, unitvec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnifiedScanArgs` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::dsl::{DslPlan, FileScanIR, UnifiedScanArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnionOptions` [INFO] [stdout] --> src/plans/optimizer/set_order/ir_pushdown.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::dsl::{PartitionVariantIR, SinkTypeIR, UnionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/dsl/datatype_expr.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 151 | let fields: Vec = match into_datatype_impl(*dt_expr, schema, self_dtype)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 152 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 153 | | DataType::Struct(fields) => fields, [INFO] [stdout] 154 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not a `struct`"), [INFO] [stdout] 155 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 156 | / match f { [INFO] [stdout] 157 | | StructDataTypeExpr::FieldDataTypeByIndex(idx) => { [INFO] [stdout] 158 | | let offset = if idx < 0 { [INFO] [stdout] 159 | | let offset = usize::try_from(idx.abs_diff(0)).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 185 | | }, [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/dsl/datatype_expr.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 151 | let fields: Vec = match into_datatype_impl(*dt_expr, schema, self_dtype)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 152 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 153 | | DataType::Struct(fields) => fields, [INFO] [stdout] 154 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not a `struct`"), [INFO] [stdout] 155 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 156 | / match f { [INFO] [stdout] 157 | | StructDataTypeExpr::FieldDataTypeByIndex(idx) => { [INFO] [stdout] 158 | | let offset = if idx < 0 { [INFO] [stdout] 159 | | let offset = usize::try_from(idx.abs_diff(0)).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 185 | | }, [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 72 | | #[cfg(feature = "dtype-array")] [INFO] [stdout] 73 | | DataType::Array(inner, width) => (*inner, width), [INFO] [stdout] 74 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Array"), [INFO] [stdout] 75 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 76 | [INFO] [stdout] 77 | / feature_gated!("dtype-array", { [INFO] [stdout] 78 | | use crate::dsl::ArrayDataTypeFunction; [INFO] [stdout] 79 | | let value = match f { [INFO] [stdout] 80 | | ArrayDataTypeFunction::Width => { [INFO] [stdout] ... | [INFO] [stdout] 97 | | (value, get_literal_name().clone()) [INFO] [stdout] 98 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature_gated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 101 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 102 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 103 | | DataType::Struct(fields) => fields, [INFO] [stdout] 104 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Struct"), [INFO] [stdout] 105 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 106 | [INFO] [stdout] 107 | / let value = match f { [INFO] [stdout] 108 | | StructDataTypeFunction::FieldNames => { [INFO] [stdout] 109 | | LiteralValue::Series(SpecialEq::new(Series::new( [INFO] [stdout] 110 | | get_literal_name().clone(), [INFO] [stdout] ... | [INFO] [stdout] 116 | | }, [INFO] [stdout] 117 | | }; [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | __________________________________________________________________________- [INFO] [stdout] 766 | | #[cfg(feature = "parquet")] [INFO] [stdout] 767 | | FileScanDsl::Parquet { options } => { [INFO] [stdout] 768 | | let key = CachedSourceKey::ParquetIpc { [INFO] [stdout] ... | [INFO] [stdout] 813 | | }, [INFO] [stdout] 814 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 815 | [INFO] [stdout] 816 | / if let Some(out) = v { [INFO] [stdout] 817 | | if verbose { [INFO] [stdout] 818 | | eprintln!("FILE_INFO CACHE HIT") [INFO] [stdout] ... | [INFO] [stdout] 829 | | Ok(v) [INFO] [stdout] 830 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | _____________________________________________________- [INFO] [stdout] 72 | | #[cfg(feature = "dtype-array")] [INFO] [stdout] 73 | | DataType::Array(inner, width) => (*inner, width), [INFO] [stdout] 74 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Array"), [INFO] [stdout] 75 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 76 | [INFO] [stdout] 77 | / feature_gated!("dtype-array", { [INFO] [stdout] 78 | | use crate::dsl::ArrayDataTypeFunction; [INFO] [stdout] 79 | | let value = match f { [INFO] [stdout] 80 | | ArrayDataTypeFunction::Width => { [INFO] [stdout] ... | [INFO] [stdout] 97 | | (value, get_literal_name().clone()) [INFO] [stdout] 98 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature_gated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 101 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 102 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 103 | | DataType::Struct(fields) => fields, [INFO] [stdout] 104 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Struct"), [INFO] [stdout] 105 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 106 | [INFO] [stdout] 107 | / let value = match f { [INFO] [stdout] 108 | | StructDataTypeFunction::FieldNames => { [INFO] [stdout] 109 | | LiteralValue::Series(SpecialEq::new(Series::new( [INFO] [stdout] 110 | | get_literal_name().clone(), [INFO] [stdout] ... | [INFO] [stdout] 116 | | }, [INFO] [stdout] 117 | | }; [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | __________________________________________________________________________- [INFO] [stdout] 766 | | #[cfg(feature = "parquet")] [INFO] [stdout] 767 | | FileScanDsl::Parquet { options } => { [INFO] [stdout] 768 | | let key = CachedSourceKey::ParquetIpc { [INFO] [stdout] ... | [INFO] [stdout] 813 | | }, [INFO] [stdout] 814 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 815 | [INFO] [stdout] 816 | / if let Some(out) = v { [INFO] [stdout] 817 | | if verbose { [INFO] [stdout] 818 | | eprintln!("FILE_INFO CACHE HIT") [INFO] [stdout] ... | [INFO] [stdout] 829 | | Ok(v) [INFO] [stdout] 830 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::prelude` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/dsl/plan.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/dsl/datatype_expr.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | D::Struct(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/dsl/datatype_expr.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let fields: Vec = match into_datatype_impl(*dt_expr, schema, self_dtype)? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/dsl/datatype_expr.rs:157:58 [INFO] [stdout] | [INFO] [stdout] 157 | StructDataTypeExpr::FieldDataTypeByIndex(idx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let offset = if idx < 0 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let offset = usize::try_from(idx.abs_diff(0)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | let offset = usize::try_from(idx).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/datatype_expr.rs:178:57 [INFO] [stdout] | [INFO] [stdout] 178 | StructDataTypeExpr::FieldDataTypeByName(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/dsl/datatype_expr.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let Some(field) = fields.into_iter().find(|f| f.name() == &name) else { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt_expr` [INFO] [stdout] --> src/dsl/datatype_expr.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | D::WrapInArray(dt_expr, width) => feature_gated!("dtype-array", { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dt_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/dsl/datatype_expr.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | D::WrapInArray(dt_expr, width) => feature_gated!("dtype-array", { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_exprs` [INFO] [stdout] --> src/dsl/datatype_expr.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | D::StructWithFields(field_exprs) => feature_gated!("dtype-struct", { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/dsl/plan.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::prelude` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use polars_io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/dsl/datatype_expr.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | D::Struct(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/dsl/datatype_expr.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let fields: Vec = match into_datatype_impl(*dt_expr, schema, self_dtype)? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/dsl/datatype_expr.rs:157:58 [INFO] [stdout] | [INFO] [stdout] 157 | StructDataTypeExpr::FieldDataTypeByIndex(idx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let offset = if idx < 0 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let offset = usize::try_from(idx.abs_diff(0)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dsl/datatype_expr.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | let offset = usize::try_from(idx).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/datatype_expr.rs:178:57 [INFO] [stdout] | [INFO] [stdout] 178 | StructDataTypeExpr::FieldDataTypeByName(name) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/dsl/datatype_expr.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let Some(field) = fields.into_iter().find(|f| f.name() == &name) else { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt_expr` [INFO] [stdout] --> src/dsl/datatype_expr.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | D::WrapInArray(dt_expr, width) => feature_gated!("dtype-array", { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dt_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/dsl/datatype_expr.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | D::WrapInArray(dt_expr, width) => feature_gated!("dtype-array", { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_exprs` [INFO] [stdout] --> src/dsl/datatype_expr.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | D::StructWithFields(field_exprs) => feature_gated!("dtype-struct", { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/dsl/functions/concat.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn concat_arr(input: Vec) -> PolarsResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dsl/expr/anonymous/agg.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/dsl/functions/concat.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn concat_arr(input: Vec) -> PolarsResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_async` [INFO] [stdout] --> src/dsl/scan_sources.rs:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | fn to_memslice_async(&self, run_async: bool) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_entries` [INFO] [stdout] --> src/dsl/scan_sources.rs:430:40 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(not(feature = "cloud"))] cache_entries: Option<&()>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/dsl/scan_sources.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_async` [INFO] [stdout] --> src/dsl/scan_sources.rs:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | fn to_memslice_async(&self, run_async: bool) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_entries` [INFO] [stdout] --> src/dsl/scan_sources.rs:430:40 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(not(feature = "cloud"))] cache_entries: Option<&()>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/dsl/scan_sources.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_dts` [INFO] [stdout] --> src/dsl/selector.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | inner_dts: Option<&DataTypeSelector>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_dts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swidth` [INFO] [stdout] --> src/dsl/selector.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | swidth: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_swidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/dsl/selector.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | dtype: &DataType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_dts` [INFO] [stdout] --> src/dsl/selector.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | inner_dts: Option<&DataTypeSelector>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_dts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swidth` [INFO] [stdout] --> src/dsl/selector.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | swidth: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_swidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dtype` [INFO] [stdout] --> src/dsl/selector.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | dtype: &DataType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coerce_decimal` [INFO] [stdout] --> src/plans/aexpr/function_expr/schema.rs:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn map_numeric_to_float_dtype(&self, coerce_decimal: bool) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coerce_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coerce_decimal` [INFO] [stdout] --> src/plans/aexpr/function_expr/schema.rs:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn map_numeric_to_float_dtype(&self, coerce_decimal: bool) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coerce_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_arena` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | expr_arena: &Arena, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/plans/aexpr/mod.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | input, function, .. [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_arena` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | expr_arena: &Arena, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/plans/aexpr/mod.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | input, function, .. [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | DTF::Array(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | DTF::Struct(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let value = match f { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let value = AExpr::Literal(value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut expand_into_inputs = matches!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut allow_empty_inputs = matches!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let mut v = matches!(e, Expr::Selector(_) | Expr::Eval { .. }); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut set_elementwise = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `require_first_source` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let require_first_source = |failed_operation_name: &'static str, hint: &'static str| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_require_first_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_sources` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | let n_sources = sources.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloud_options` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | let cloud_options = unified_scan_args.cloud_options.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloud_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | verbose: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | let paths = match sources { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:765:14 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:816:21 [INFO] [stdout] | [INFO] [stdout] 816 | if let Some(out) = v { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:822:17 [INFO] [stdout] | [INFO] [stdout] 822 | let v = self.infer_or_parse( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:822:21 [INFO] [stdout] | [INFO] [stdout] 822 | let v = self.infer_or_parse( [INFO] [stdout] | _____________________^ [INFO] [stdout] 823 | | scan_type.clone(), [INFO] [stdout] 824 | | sources, [INFO] [stdout] 825 | | sources_before_expansion, [INFO] [stdout] 826 | | unified_scan_args, [INFO] [stdout] 827 | | )?; [INFO] [stdout] | |______________^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/mod.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut key_names: PlHashSet = output_schema.iter_names().cloned().collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | DTF::Array(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let (inner, width): (DataType, usize) = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | DTF::Struct(dt_expr, f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let value = match f { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let value = AExpr::Literal(value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut expand_into_inputs = matches!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut allow_empty_inputs = matches!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/stack_opt.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ctx = OptimizeExprContext { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let mut v = matches!(e, Expr::Selector(_) | Expr::Eval { .. }); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/schema.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/plans/functions/schema.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `separator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/mod.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/plans/functions/mod.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `separator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut set_elementwise = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `require_first_source` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let require_first_source = |failed_operation_name: &'static str, hint: &'static str| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_require_first_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_sources` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | let n_sources = sources.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloud_options` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | let cloud_options = unified_scan_args.cloud_options.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloud_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | verbose: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | let paths = match sources { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:765:14 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let (k, v): (CachedSourceKey, Option<&(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:816:21 [INFO] [stdout] | [INFO] [stdout] 816 | if let Some(out) = v { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:822:17 [INFO] [stdout] | [INFO] [stdout] 822 | let v = self.infer_or_parse( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:822:21 [INFO] [stdout] | [INFO] [stdout] 822 | let v = self.infer_or_parse( [INFO] [stdout] | _____________________^ [INFO] [stdout] 823 | | scan_type.clone(), [INFO] [stdout] 824 | | sources, [INFO] [stdout] 825 | | sources_before_expansion, [INFO] [stdout] 826 | | unified_scan_args, [INFO] [stdout] 827 | | )?; [INFO] [stdout] | |______________^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | sources, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `sources: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | predicate, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `predicate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let limit = match unified_scan_args.pre_slice.clone() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/mod.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut key_names: PlHashSet = output_schema.iter_names().cloned().collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/stack_opt.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ctx = OptimizeExprContext { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/plans/optimizer/projection_pushdown/mod.rs:472:28 [INFO] [stdout] | [INFO] [stdout] 472 | if let FileScanIR::Anonymous { .. } = &*scan_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/schema.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/plans/functions/schema.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `separator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/mod.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/plans/functions/mod.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `separator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/plans/optimizer/simplify_expr/mod.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | schema: &Schema, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comm_subexpr_elim` [INFO] [stdout] --> src/plans/optimizer/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let comm_subexpr_elim = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comm_subexpr_elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | sources, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `sources: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | predicate, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `predicate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let limit = match unified_scan_args.pre_slice.clone() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/schema.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut right_by: PlHashSet<&PlSmallStr> = PlHashSet::default(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/schema.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | let mut need_to_include_column = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `how` [INFO] [stdout] --> src/plans/schema.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | how => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_how` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/plans/schema.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | && let Some(idx) = join_on_right.get_index_of(name) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSL_MAGIC_BYTES` is never used [INFO] [stdout] --> src/dsl/plan.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DSL_MAGIC_BYTES: &[u8] = b"DSL_VERSION"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSL_SCHEMA_HASH` is never used [INFO] [stdout] --> src/dsl/plan.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const DSL_SCHEMA_HASH: SchemaHash<'static> = SchemaHash::from_hash_file(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHEMA_HASH_LEN` is never used [INFO] [stdout] --> src/dsl/plan.rs:383:7 [INFO] [stdout] | [INFO] [stdout] 383 | const SCHEMA_HASH_LEN: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaHash` is never constructed [INFO] [stdout] --> src/dsl/plan.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | struct SchemaHash<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hash_file` is never used [INFO] [stdout] --> src/dsl/plan.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 387 | impl SchemaHash<'static> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 388 | const fn from_hash_file() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_bytes` are never used [INFO] [stdout] --> src/dsl/plan.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 395 | impl<'a> SchemaHash<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 396 | const fn new(bytes: &'a [u8; SCHEMA_HASH_LEN]) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn as_bytes(&self) -> &'a [u8; SCHEMA_HASH_LEN] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_dtype` and `ensure_satisfies` are never used [INFO] [stdout] --> src/plans/aexpr/function_expr/schema.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 456 | impl<'a> FieldsMapper<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 722 | pub(super) fn log_dtype(&self) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | fn ensure_satisfies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DisplayDot` is never constructed [INFO] [stdout] --> src/plans/ir/tree_format.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub enum TreeFmtVisitorDisplay { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 397 | DisplayDot, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toggle_cse_for_structs` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn toggle_cse_for_structs(opt_flags: &mut OptFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_lossless_binary_comparisons` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/join.rs:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | fn ensure_lossless_binary_comparisons( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_row_index_to_schema` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | pub(super) fn insert_row_index_to_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_metadata_scan_cached` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn max_metadata_scan_cached() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParquetIpc` and `CsvJson` are never constructed [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 516 | enum CachedSourceKey { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 517 | ParquetIpc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | CsvJson { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/plans/expr_ir.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 96 | impl ExprIR { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 250 | pub(crate) fn has_alias(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IEJOIN_MAX_PREDICATES` is never used [INFO] [stdout] --> src/plans/optimizer/predicate_pushdown/join.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const IEJOIN_MAX_PREDICATES: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_leaf` and `hashable_and_cmp` are never used [INFO] [stdout] --> src/plans/visitor/expr.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl AexprNode { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn is_leaf(&self, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn hashable_and_cmp<'a>(&self, arena: &'a Arena) -> AExprArena<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_column_independent_aexpr` is never used [INFO] [stdout] --> src/utils.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn is_column_independent_aexpr(expr: Node, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | AnyValue::UInt32(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | AnyValue::Int8(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | AnyValue::Int16(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | AnyValue::Int32(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | make_dyn_lit!(f32, Float); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | make_dyn_lit!(f64, Float); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | make_dyn_lit!(i8, Int); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | make_dyn_lit!(i16, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | make_dyn_lit!(i32, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | make_dyn_lit!(i64, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | make_dyn_lit!(u8, Int); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | make_dyn_lit!(u16, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | make_dyn_lit!(u32, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | make_dyn_lit!(u64, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | make_dyn_lit!(i128, Int); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/plans/optimizer/projection_pushdown/mod.rs:472:28 [INFO] [stdout] | [INFO] [stdout] 472 | if let FileScanIR::Anonymous { .. } = &*scan_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/plans/optimizer/simplify_expr/mod.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | schema: &Schema, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polars-plan` (lib) due to 15 previous errors; 117 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `comm_subexpr_elim` [INFO] [stdout] --> src/plans/optimizer/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let comm_subexpr_elim = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comm_subexpr_elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/schema.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut right_by: PlHashSet<&PlSmallStr> = PlHashSet::default(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/schema.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | let mut need_to_include_column = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `how` [INFO] [stdout] --> src/plans/schema.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | how => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_how` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/plans/schema.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | && let Some(idx) = join_on_right.get_index_of(name) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSL_MAGIC_BYTES` is never used [INFO] [stdout] --> src/dsl/plan.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DSL_MAGIC_BYTES: &[u8] = b"DSL_VERSION"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSL_SCHEMA_HASH` is never used [INFO] [stdout] --> src/dsl/plan.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const DSL_SCHEMA_HASH: SchemaHash<'static> = SchemaHash::from_hash_file(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHEMA_HASH_LEN` is never used [INFO] [stdout] --> src/dsl/plan.rs:383:7 [INFO] [stdout] | [INFO] [stdout] 383 | const SCHEMA_HASH_LEN: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaHash` is never constructed [INFO] [stdout] --> src/dsl/plan.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | struct SchemaHash<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hash_file` is never used [INFO] [stdout] --> src/dsl/plan.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 387 | impl SchemaHash<'static> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 388 | const fn from_hash_file() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_bytes` are never used [INFO] [stdout] --> src/dsl/plan.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 395 | impl<'a> SchemaHash<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 396 | const fn new(bytes: &'a [u8; SCHEMA_HASH_LEN]) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn as_bytes(&self) -> &'a [u8; SCHEMA_HASH_LEN] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_dtype` and `ensure_satisfies` are never used [INFO] [stdout] --> src/plans/aexpr/function_expr/schema.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 456 | impl<'a> FieldsMapper<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 722 | pub(super) fn log_dtype(&self) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | fn ensure_satisfies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DisplayDot` is never constructed [INFO] [stdout] --> src/plans/ir/tree_format.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 394 | pub enum TreeFmtVisitorDisplay { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 397 | DisplayDot, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toggle_cse_for_structs` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn toggle_cse_for_structs(opt_flags: &mut OptFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_lossless_binary_comparisons` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/join.rs:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | fn ensure_lossless_binary_comparisons( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_row_index_to_schema` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | pub(super) fn insert_row_index_to_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_metadata_scan_cached` is never used [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn max_metadata_scan_cached() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParquetIpc` and `CsvJson` are never constructed [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 516 | enum CachedSourceKey { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 517 | ParquetIpc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | CsvJson { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/plans/expr_ir.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 96 | impl ExprIR { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 250 | pub(crate) fn has_alias(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IEJOIN_MAX_PREDICATES` is never used [INFO] [stdout] --> src/plans/optimizer/predicate_pushdown/join.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const IEJOIN_MAX_PREDICATES: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_leaf` and `hashable_and_cmp` are never used [INFO] [stdout] --> src/plans/visitor/expr.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl AexprNode { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn is_leaf(&self, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn hashable_and_cmp<'a>(&self, arena: &'a Arena) -> AExprArena<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_column_independent_aexpr` is never used [INFO] [stdout] --> src/utils.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn is_column_independent_aexpr(expr: Node, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | AnyValue::UInt32(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | AnyValue::Int8(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | AnyValue::Int16(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | i64::try_from($v).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | AnyValue::Int32(v) => cast_i64!(v), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cast_i64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | make_dyn_lit!(f32, Float); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | make_dyn_lit!(f64, Float); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | make_dyn_lit!(i8, Int); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | make_dyn_lit!(i16, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | make_dyn_lit!(i32, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | make_dyn_lit!(i64, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | make_dyn_lit!(u8, Int); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | make_dyn_lit!(u16, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | make_dyn_lit!(u32, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | make_dyn_lit!(u64, Int); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plans/lit.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | self.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | make_dyn_lit!(i128, Int); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_dyn_lit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polars-plan` (lib test) due to 15 previous errors; 117 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b64d9b4ed25b8b551e27d4a91d0898102c89bd456612b800c80057553cdf5254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64d9b4ed25b8b551e27d4a91d0898102c89bd456612b800c80057553cdf5254", kill_on_drop: false }` [INFO] [stdout] b64d9b4ed25b8b551e27d4a91d0898102c89bd456612b800c80057553cdf5254