[INFO] fetching crate polars-plan 0.53.0... [INFO] checking polars-plan-0.53.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate polars-plan 0.53.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate polars-plan 0.53.0 [INFO] finished tweaking crates.io crate polars-plan 0.53.0 [INFO] tweaked toml for crates.io crate polars-plan 0.53.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polars-plan 0.53.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polars-plan 0.53.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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c31cc4e9859ba1b645cf2a971c387ada5c87a3210c7b1ab449c436db6ad8669b [INFO] running `Command { std: "docker" "start" "-a" "c31cc4e9859ba1b645cf2a971c387ada5c87a3210c7b1ab449c436db6ad8669b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c31cc4e9859ba1b645cf2a971c387ada5c87a3210c7b1ab449c436db6ad8669b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31cc4e9859ba1b645cf2a971c387ada5c87a3210c7b1ab449c436db6ad8669b", kill_on_drop: false }` [INFO] [stdout] c31cc4e9859ba1b645cf2a971c387ada5c87a3210c7b1ab449c436db6ad8669b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3a8ad2e329540e2ace5df631dc8392aeb743c0ec629bef10c635655e8b47122 [INFO] running `Command { std: "docker" "start" "-a" "b3a8ad2e329540e2ace5df631dc8392aeb743c0ec629bef10c635655e8b47122", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling polars-utils v0.53.0 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling polars-schema v0.53.0 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling polars-buffer v0.53.0 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling polars-arrow v0.53.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling polars-compute v0.53.0 [INFO] [stderr] Checking debug_unsafe v0.1.3 [INFO] [stderr] Checking atoi_simd v0.17.0 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking boxcar v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling polars-core v0.53.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling polars-ops v0.53.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling polars-plan v0.53.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking polars-error v0.53.0 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking argminmax v0.6.3 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking polars-dtype v0.53.0 [INFO] [stderr] Checking polars-row v0.53.0 [INFO] [stderr] Checking polars-io v0.53.0 [INFO] [stdout] warning: unused import: `arity::*` [INFO] [stdout] --> src/dsl/functions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use arity::*; [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 imports: `expand_paths_hive` and `expanded_from_single_directory` [INFO] [stdout] --> src/dsl/scan_sources.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | 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::datatypes::ReshapeDimension` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use polars_core::datatypes::ReshapeDimension; [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:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use polars_core::utils::SuperTypeFlags; [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 imports: `POLARS_STRUCTFIELDS`, `get_literal_name`, and `get_pl_structfields_name` [INFO] [stdout] --> src/plans/aexpr/schema.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | POLARS_ELEMENT, POLARS_STRUCTFIELDS, get_literal_name, get_pl_element_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | get_pl_structfields_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/traverse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::get_pl_element_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::constants::get_pl_element_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_pl_structfields_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | POLARS_ELEMENT, POLARS_STRUCTFIELDS, get_pl_element_name, get_pl_structfields_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::get_literal_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constants::get_literal_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::RowIndex` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use polars_io::RowIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::csv::read::streaming::read_until_start_and_infer_schema` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use polars_io::csv::read::streaming::read_until_start_and_infer_schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::utils::compression::CompressedReader` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_io::utils::compression::CompressedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_pl_structfields_name` [INFO] [stdout] --> src/plans/conversion/stack_opt.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::constants::{get_pl_element_name, get_pl_structfields_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unpack` [INFO] [stdout] --> src/plans/conversion/type_coercion/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) use unpack; [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_core::config` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::config; [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:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use polars_utils::{format_pl_smallstr, unitvec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileScanIR` and `UnifiedScanArgs` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::dsl::{SinkTypeIR, UnionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_evaluate` [INFO] [stdout] --> src/plans/optimizer/sortedness.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | constant_evaluate, into_column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprIR` [INFO] [stdout] --> src/plans/prune.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::plans::{AExpr, ExprIR, IR, IRPlan, IRPlanRef}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::format_pl_smallstr` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_utils::format_pl_smallstr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arity::*` [INFO] [stdout] --> src/dsl/functions/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use arity::*; [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 imports: `expand_paths_hive` and `expanded_from_single_directory` [INFO] [stdout] --> src/dsl/scan_sources.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | 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::datatypes::ReshapeDimension` [INFO] [stdout] --> src/plans/aexpr/function_expr/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use polars_core::datatypes::ReshapeDimension; [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:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | 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 imports: `POLARS_STRUCTFIELDS`, `get_literal_name`, and `get_pl_structfields_name` [INFO] [stdout] --> src/plans/aexpr/schema.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | POLARS_ELEMENT, POLARS_STRUCTFIELDS, get_literal_name, get_pl_element_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | get_pl_structfields_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/traverse.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AExpr::*` [INFO] [stdout] --> src/plans/aexpr/properties/general.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use AExpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::get_pl_element_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::constants::get_pl_element_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_pl_structfields_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | POLARS_ELEMENT, POLARS_STRUCTFIELDS, get_pl_element_name, get_pl_structfields_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::get_literal_name` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::constants::get_literal_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::RowIndex` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use polars_io::RowIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::csv::read::streaming::read_until_start_and_infer_schema` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use polars_io::csv::read::streaming::read_until_start_and_infer_schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_io::utils::compression::CompressedReader` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use polars_io::utils::compression::CompressedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_pl_structfields_name` [INFO] [stdout] --> src/plans/conversion/stack_opt.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::constants::{get_pl_element_name, get_pl_structfields_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unpack` [INFO] [stdout] --> src/plans/conversion/type_coercion/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) use unpack; [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_core::config` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::config; [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:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use polars_utils::{format_pl_smallstr, unitvec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileScanIR` and `UnifiedScanArgs` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::dsl::{SinkTypeIR, UnionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_evaluate` [INFO] [stdout] --> src/plans/optimizer/sortedness.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | constant_evaluate, into_column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprIR` [INFO] [stdout] --> src/plans/prune.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::plans::{AExpr, ExprIR, IR, IRPlan, IRPlanRef}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_utils::format_pl_smallstr` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use polars_utils::format_pl_smallstr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 787 | let (k, v): (CachedSourceKey, Option<(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | _________________________________________________________________________- [INFO] [stdout] 788 | | #[cfg(feature = "parquet")] [INFO] [stdout] 789 | | FileScanDsl::Parquet { options } => { [INFO] [stdout] 790 | | let key = CachedSourceKey::ParquetIpc { [INFO] [stdout] ... | [INFO] [stdout] 841 | | }, [INFO] [stdout] 842 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 843 | [INFO] [stdout] 844 | / if let Some(out) = v { [INFO] [stdout] 845 | | if verbose { [INFO] [stdout] 846 | | eprintln!("FILE_INFO CACHE HIT") [INFO] [stdout] ... | [INFO] [stdout] 859 | | Ok(v) [INFO] [stdout] 860 | | } [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] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 787 | let (k, v): (CachedSourceKey, Option<(FileInfo, FileScanIR)>) = match scan_type { [INFO] [stdout] | _________________________________________________________________________- [INFO] [stdout] 788 | | #[cfg(feature = "parquet")] [INFO] [stdout] 789 | | FileScanDsl::Parquet { options } => { [INFO] [stdout] 790 | | let key = CachedSourceKey::ParquetIpc { [INFO] [stdout] ... | [INFO] [stdout] 841 | | }, [INFO] [stdout] 842 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 843 | [INFO] [stdout] 844 | / if let Some(out) = v { [INFO] [stdout] 845 | | if verbose { [INFO] [stdout] 846 | | eprintln!("FILE_INFO CACHE HIT") [INFO] [stdout] ... | [INFO] [stdout] 859 | | Ok(v) [INFO] [stdout] 860 | | } [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] [INFO] [stdout] error[E0599]: no method named `is_between` found for enum `dsl::expr::Expr` in the current scope [INFO] [stdout] --> src/plans/aexpr/predicates/column_expr.rs:436:38 [INFO] [stdout] | [INFO] [stdout] 436 | let expr = col(col_name).is_between(typed_lit(1i8), typed_lit(10i8), interval); [INFO] [stdout] | ^^^^^^^^^^ method not found in `dsl::expr::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/dsl/expr/mod.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum Expr { [INFO] [stdout] | ------------- method `is_between` not found for this enum [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] 94 | | (value, get_literal_name()) [INFO] [stdout] 95 | | }) [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:104:13 [INFO] [stdout] | [INFO] [stdout] 98 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 99 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 100 | | DataType::Struct(fields) => fields, [INFO] [stdout] 101 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Struct"), [INFO] [stdout] 102 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | [INFO] [stdout] 104 | / let value = match f { [INFO] [stdout] 105 | | StructDataTypeFunction::FieldNames => { [INFO] [stdout] 106 | | LiteralValue::Series(SpecialEq::new(Series::new( [INFO] [stdout] 107 | | get_literal_name(), [INFO] [stdout] ... | [INFO] [stdout] 113 | | }, [INFO] [stdout] 114 | | }; [INFO] [stdout] | |______________^ unreachable statement [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] 94 | | (value, get_literal_name()) [INFO] [stdout] 95 | | }) [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:104:13 [INFO] [stdout] | [INFO] [stdout] 98 | let fields: Vec = match dt_expr.into_datatype(ctx.schema)? { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 99 | | #[cfg(feature = "dtype-struct")] [INFO] [stdout] 100 | | DataType::Struct(fields) => fields, [INFO] [stdout] 101 | | dt => polars_bail!(InvalidOperation: "`{dt}` is not an Struct"), [INFO] [stdout] 102 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | [INFO] [stdout] 104 | / let value = match f { [INFO] [stdout] 105 | | StructDataTypeFunction::FieldNames => { [INFO] [stdout] 106 | | LiteralValue::Series(SpecialEq::new(Series::new( [INFO] [stdout] 107 | | get_literal_name(), [INFO] [stdout] ... | [INFO] [stdout] 113 | | }, [INFO] [stdout] 114 | | }; [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/optimizer/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 167 | / feature_gated!("cse", { [INFO] [stdout] 168 | | let members = get_or_init_members!(); [INFO] [stdout] 169 | | run_pd = if (members.has_sink_multiple || members.has_joins_or_unions) [INFO] [stdout] 170 | | && members.has_duplicate_scans() [INFO] [stdout] ... | [INFO] [stdout] 192 | | }); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] 193 | [INFO] [stdout] 194 | run_pd [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: `crate::dsl` [INFO] [stdout] --> src/dsl/functions/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::dsl::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::prelude` [INFO] [stdout] --> src/plans/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use polars_core::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: unreachable pattern [INFO] [stdout] --> src/callback.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | (C::Rust(l), C::Rust(r)) => l.eq(r), [INFO] [stdout] | ------------------------ matches all the relevant values [INFO] [stdout] 25 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/plans/optimizer/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 167 | / feature_gated!("cse", { [INFO] [stdout] 168 | | let members = get_or_init_members!(); [INFO] [stdout] 169 | | run_pd = if (members.has_sink_multiple || members.has_joins_or_unions) [INFO] [stdout] 170 | | && members.has_duplicate_scans() [INFO] [stdout] ... | [INFO] [stdout] 192 | | }); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] 193 | [INFO] [stdout] 194 | run_pd [INFO] [stdout] | ^^^^^^ unreachable expression [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: `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:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | 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:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dsl` [INFO] [stdout] --> src/dsl/functions/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::dsl::*; [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 import: `polars_core::prelude` [INFO] [stdout] --> src/plans/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use polars_core::prelude::*; [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: unreachable pattern [INFO] [stdout] --> src/callback.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | (C::Rust(l), C::Rust(r)) => l.eq(r), [INFO] [stdout] | ------------------------ matches all the relevant values [INFO] [stdout] 25 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [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: `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: `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:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | 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:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_async` [INFO] [stdout] --> src/dsl/scan_sources.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | fn to_buffer_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:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | #[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:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | 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:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | 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:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | dtype: &DataType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dtype` [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:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | fn to_buffer_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:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | #[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:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | 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:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | 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:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 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:571:46 [INFO] [stdout] | [INFO] [stdout] 571 | 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:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | 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:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | input, function, .. [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coerce_decimal` [INFO] [stdout] --> src/plans/aexpr/function_expr/schema.rs:571:46 [INFO] [stdout] | [INFO] [stdout] 571 | 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:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | 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:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | 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: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | 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:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | 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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | 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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut set_elementwise = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_is_empty` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let input_is_empty = input.is_empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_is_empty` [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: `f` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/datatype_fn_to_ir.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | 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:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut allow_empty_inputs = matches!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | 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:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | 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: `require_first_source` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | 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:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | 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: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/expr_expansion.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | 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:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut set_elementwise = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_is_empty` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/functions.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let input_is_empty = input.is_empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_is_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/mod.rs:1313:25 [INFO] [stdout] | [INFO] [stdout] 1313 | let mut compression_opt = None::; [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/mod.rs:1541:9 [INFO] [stdout] | [INFO] [stdout] 1541 | 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: `verbose` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | 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:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | 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: `require_first_source` [INFO] [stdout] --> src/plans/conversion/dsl_to_ir/scans.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | 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:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | 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: variable does not need to be mutable [INFO] [stdout] --> src/plans/conversion/stack_opt.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut ctx = OptimizeExprContext { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/plans/functions/count.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | sources: &ScanSources, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scan_type` [INFO] [stdout] --> src/plans/functions/count.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | scan_type: &FileScanIR, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scan_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/plans/functions/count.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | alias: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/schema.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | 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:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | 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:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | 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:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | 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/mod.rs:1313:25 [INFO] [stdout] | [INFO] [stdout] 1313 | let mut compression_opt = None::; [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/mod.rs:1541:9 [INFO] [stdout] | [INFO] [stdout] 1541 | 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:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut ctx = OptimizeExprContext { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/plans/functions/count.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | sources: &ScanSources, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scan_type` [INFO] [stdout] --> src/plans/functions/count.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | scan_type: &FileScanIR, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scan_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/plans/functions/count.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | alias: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/plans/functions/schema.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | 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:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | 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:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | 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:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | Unnest { columns, separator } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `separator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | sources, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `sources: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_info` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | file_info, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `file_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hive_parts` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | hive_parts, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `hive_parts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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: unused variable: `sources` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | sources, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `sources: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_info` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | file_info, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `file_info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hive_parts` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | hive_parts, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `hive_parts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/plans/optimizer/expand_datasets.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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: 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: 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:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | schema: &Schema, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plans/optimizer/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut comm_subplan_elim = false; [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/optimizer/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut run_pd = true; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/plans/optimizer/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | scratch: &mut Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/plans/optimizer/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let verbose = verbose(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comm_subexpr_elim` [INFO] [stdout] --> src/plans/optimizer/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | 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: `run_pd` [INFO] [stdout] --> src/plans/optimizer/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut run_pd = true; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/plans/optimizer/simplify_expr/mod.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | schema: &Schema, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [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: variable does not need to be mutable [INFO] [stdout] --> src/plans/optimizer/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut comm_subplan_elim = false; [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/optimizer/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut run_pd = true; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/plans/optimizer/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | scratch: &mut Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/plans/optimizer/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let verbose = verbose(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comm_subexpr_elim` [INFO] [stdout] --> src/plans/optimizer/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | 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: `run_pd` [INFO] [stdout] --> src/plans/optimizer/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut run_pd = true; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polars-plan` (lib test) due to 1 previous error; 103 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: struct `FmtArgs` is never constructed [INFO] [stdout] --> src/dsl/format.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct FmtArgs<'a>(&'a [Expr]); [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_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] [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:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | 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:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | 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:397:14 [INFO] [stdout] | [INFO] [stdout] 396 | impl SchemaHash<'static> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 397 | 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:405:14 [INFO] [stdout] | [INFO] [stdout] 404 | impl<'a> SchemaHash<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 405 | const fn new(bytes: &'a [u8; SCHEMA_HASH_LEN]) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | 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:749:19 [INFO] [stdout] | [INFO] [stdout] 472 | impl<'a> FieldsMapper<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 749 | pub(super) fn log_dtype(&self) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | 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:405:5 [INFO] [stdout] | [INFO] [stdout] 402 | pub enum TreeFmtVisitorDisplay { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 405 | 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:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | 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:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | 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:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | 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:519:5 [INFO] [stdout] | [INFO] [stdout] 518 | enum CachedSourceKey { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 519 | ParquetIpc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | CsvJson { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_get_dtype` is never used [INFO] [stdout] --> src/plans/conversion/type_coercion/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn try_get_dtype(expr_arena: &Arena, e: Node, schema: &Schema) -> PolarsResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_alias` is never used [INFO] [stdout] --> src/plans/expr_ir.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl ExprIR { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub(crate) fn has_alias(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `block_at_cache` is never used [INFO] [stdout] --> src/plans/optimizer/predicate_pushdown/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl PredicatePushDown { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 54 | pub(crate) fn block_at_cache(mut self, count: u32) -> Self { [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: field `structfield_ordering` is never read [INFO] [stdout] --> src/plans/optimizer/set_order/expr_pushdown.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub(super) struct ObservableOrdersResolver<'a> { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | structfield_ordering: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_arrow_schema_conversion` is never used [INFO] [stdout] --> src/plans/schema.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | pub(crate) fn validate_arrow_schema_conversion( [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:147:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl AexprNode { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn is_leaf(&self, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | 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:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn is_column_independent_aexpr(expr: Node, arena: &Arena) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/dsl/expr/anonymous/expr.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | impl Deref for SpecialEq { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 96 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polars-plan` (lib) due to 1 previous error; 126 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3a8ad2e329540e2ace5df631dc8392aeb743c0ec629bef10c635655e8b47122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a8ad2e329540e2ace5df631dc8392aeb743c0ec629bef10c635655e8b47122", kill_on_drop: false }` [INFO] [stdout] b3a8ad2e329540e2ace5df631dc8392aeb743c0ec629bef10c635655e8b47122