[INFO] cloning repository https://github.com/tsmarsh/rustql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsmarsh/rustql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmarsh%2Frustql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmarsh%2Frustql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e269c2d16d4559398d78ee472c4745a9edb9e7f6 [INFO] checking tsmarsh/rustql against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmarsh%2Frustql" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tsmarsh/rustql [INFO] finished tweaking git repo https://github.com/tsmarsh/rustql [INFO] tweaked toml for git repo https://github.com/tsmarsh/rustql written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tsmarsh/rustql on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tsmarsh/rustql 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e581582adba4adfb80ccc81b65aefd5d28f770dc4b91060d9523f9e599cf52ee [INFO] running `Command { std: "docker" "start" "-a" "e581582adba4adfb80ccc81b65aefd5d28f770dc4b91060d9523f9e599cf52ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e581582adba4adfb80ccc81b65aefd5d28f770dc4b91060d9523f9e599cf52ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e581582adba4adfb80ccc81b65aefd5d28f770dc4b91060d9523f9e599cf52ee", kill_on_drop: false }` [INFO] [stdout] e581582adba4adfb80ccc81b65aefd5d28f770dc4b91060d9523f9e599cf52ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55b32fd463f235da7989a2845bca28514186b70009bd3c633d546d4b1b937c9 [INFO] running `Command { std: "docker" "start" "-a" "f55b32fd463f235da7989a2845bca28514186b70009bd3c633d546d4b1b937c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling rustql v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite3-ffi` [INFO] [stdout] --> build.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "sqlite3-ffi")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossterm`, `default`, `fts3`, `fts5`, `json`, `rtree`, `session`, `tcl`, and `tui` [INFO] [stdout] = help: consider adding `sqlite3-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stdout] warning: unused import: `WhereLevelFlags` [INFO] [stdout] --> src/executor/select/mod.rs:15:71 [INFO] [stdout] | [INFO] [stdout] 15 | IndexInfo, OrBranch, QueryPlanner, TermOp, WhereInfo, WhereLevel, WhereLevelFlags, WherePlan, [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: `WindowCompiler` [INFO] [stdout] --> src/executor/select/mod.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::executor::window::{select_has_window_functions, WindowCompiler}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/executor/trigger.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / /// Track trigger compilation depth to prevent infinite compile-time recursion. [INFO] [stdout] 18 | | /// SQLite handles recursive triggers at runtime via the trigger_depth counter. [INFO] [stdout] 19 | | /// By default, recursive triggers are OFF in SQLite. We limit compile-time nesting [INFO] [stdout] 20 | | /// to prevent stack overflow; runtime trigger_depth checking prevents infinite execution. [INFO] [stdout] | |_-----------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteStmt`, `InsertStmt`, and `UpdateStmt` [INFO] [stdout] --> src/parser/grammar.rs:2041:34 [INFO] [stdout] | [INFO] [stdout] 2041 | use crate::parser::ast::{DeleteStmt, IndexedBy, InsertStmt, Stmt, UpdateStmt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerialType` and `decode_record_header` [INFO] [stdout] --> src/vdbe/engine/mod.rs:1066:36 [INFO] [stdout] | [INFO] [stdout] 1066 | use crate::vdbe::auxdata::{decode_record_header, SerialType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vdbe/engine/mod.rs:2312:28 [INFO] [stdout] | [INFO] [stdout] 2312 | if (need_root_lookup || table_meta.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2312 - if (need_root_lookup || table_meta.is_none()) { [INFO] [stdout] 2312 + if need_root_lookup || table_meta.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhereLevelFlags` [INFO] [stdout] --> src/executor/select/mod.rs:15:71 [INFO] [stdout] | [INFO] [stdout] 15 | IndexInfo, OrBranch, QueryPlanner, TermOp, WhereInfo, WhereLevel, WhereLevelFlags, WherePlan, [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: `WindowCompiler` [INFO] [stdout] --> src/executor/select/mod.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::executor::window::{select_has_window_functions, WindowCompiler}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/executor/trigger.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / /// Track trigger compilation depth to prevent infinite compile-time recursion. [INFO] [stdout] 18 | | /// SQLite handles recursive triggers at runtime via the trigger_depth counter. [INFO] [stdout] 19 | | /// By default, recursive triggers are OFF in SQLite. We limit compile-time nesting [INFO] [stdout] 20 | | /// to prevent stack overflow; runtime trigger_depth checking prevents infinite execution. [INFO] [stdout] | |_-----------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteStmt`, `InsertStmt`, and `UpdateStmt` [INFO] [stdout] --> src/parser/grammar.rs:2041:34 [INFO] [stdout] | [INFO] [stdout] 2041 | use crate::parser::ast::{DeleteStmt, IndexedBy, InsertStmt, Stmt, UpdateStmt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerialType` and `decode_record_header` [INFO] [stdout] --> src/vdbe/engine/mod.rs:1066:36 [INFO] [stdout] | [INFO] [stdout] 1066 | use crate::vdbe::auxdata::{decode_record_header, SerialType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vdbe/engine/mod.rs:2312:28 [INFO] [stdout] | [INFO] [stdout] 2312 | if (need_root_lookup || table_meta.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2312 - if (need_root_lookup || table_meta.is_none()) { [INFO] [stdout] 2312 + if need_root_lookup || table_meta.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_str_upper` [INFO] [stdout] --> src/api/connection.rs:1861:13 [INFO] [stdout] | [INFO] [stdout] 1861 | let col_str_upper = col_str.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_str_upper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/executor/delete.rs:1663:55 [INFO] [stdout] | [INFO] [stdout] 1663 | crate::parser::ast::InList::Table(table_name) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_schema_lower` [INFO] [stdout] --> src/executor/prepare.rs:3496:17 [INFO] [stdout] | [INFO] [stdout] 3496 | let table_schema_lower = table_schema.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_schema_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor/prepare.rs:4711:13 [INFO] [stdout] | [INFO] [stdout] 4711 | _ => "?".to_string(), // Fallback for any remaining expressions [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor/prepare.rs:4711:13 [INFO] [stdout] | [INFO] [stdout] 4488 | Expr::Literal(lit) => match lit { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4499 | Expr::Column(col) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4506 | Expr::Binary { op, left, right } => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4538 | Expr::Unary { op, expr: inner } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4711 | _ => "?".to_string(), // Fallback for any remaining expressions [INFO] [stdout] | ^ ...and 15 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_base_reg` [INFO] [stdout] --> src/executor/select/mod.rs:2126:25 [INFO] [stdout] | [INFO] [stdout] 2126 | let key_base_reg = self.next_reg; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_base_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_start_label` [INFO] [stdout] --> src/executor/select/mod.rs:2632:13 [INFO] [stdout] | [INFO] [stdout] 2632 | let loop_start_label = *loop_labels.last().unwrap_or(&self.alloc_label()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_start_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_base_reg` [INFO] [stdout] --> src/executor/select/mod.rs:2743:47 [INFO] [stdout] | [INFO] [stdout] 2743 | let (is_index_scan, index_cursor, key_base_reg, key_count, is_rowid_eq) = scan_info [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_base_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_count` [INFO] [stdout] --> src/executor/select/mod.rs:2743:61 [INFO] [stdout] | [INFO] [stdout] 2743 | let (is_index_scan, index_cursor, key_base_reg, key_count, is_rowid_eq) = scan_info [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_start_label` [INFO] [stdout] --> src/executor/select/mod.rs:4336:13 [INFO] [stdout] | [INFO] [stdout] 4336 | let loop_start_label = *loop_labels.last().unwrap_or(&self.alloc_label()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_start_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/executor/select/mod.rs:5319:18 [INFO] [stdout] | [INFO] [stdout] 5319 | for (idx, maybe_offset) in non_agg_indices.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/executor/select/mod.rs:6992:29 [INFO] [stdout] | [INFO] [stdout] 6992 | if let Some(col_idx) = self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/executor/select/mod.rs:7188:9 [INFO] [stdout] | [INFO] [stdout] 7188 | level: &WhereLevel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_cursor` [INFO] [stdout] --> src/executor/select/mod.rs:10173:9 [INFO] [stdout] | [INFO] [stdout] 10173 | table_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_info` [INFO] [stdout] --> src/executor/select/mod.rs:10178:9 [INFO] [stdout] | [INFO] [stdout] 10178 | where_info: &Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/update.rs:1065:17 [INFO] [stdout] | [INFO] [stdout] 1065 | let mut all_match_label = conflict_label; [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: unused variable: `idx_name` [INFO] [stdout] --> src/executor/update.rs:1002:14 [INFO] [stdout] | [INFO] [stdout] 1002 | for (idx_name, col_indices) in unique_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipk_col` [INFO] [stdout] --> src/executor/update.rs:1391:13 [INFO] [stdout] | [INFO] [stdout] 1391 | let ipk_col = self.get_ipk_column_index(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipk_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_str_upper` [INFO] [stdout] --> src/api/connection.rs:1861:13 [INFO] [stdout] | [INFO] [stdout] 1861 | let col_str_upper = col_str.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_str_upper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/executor/delete.rs:1663:55 [INFO] [stdout] | [INFO] [stdout] 1663 | crate::parser::ast::InList::Table(table_name) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_schema_lower` [INFO] [stdout] --> src/executor/prepare.rs:3496:17 [INFO] [stdout] | [INFO] [stdout] 3496 | let table_schema_lower = table_schema.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_schema_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_leaf` [INFO] [stdout] --> src/rtree.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn deserialize_node(&self, data: &[u8], is_leaf: bool) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor/prepare.rs:4711:13 [INFO] [stdout] | [INFO] [stdout] 4711 | _ => "?".to_string(), // Fallback for any remaining expressions [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor/prepare.rs:4711:13 [INFO] [stdout] | [INFO] [stdout] 4488 | Expr::Literal(lit) => match lit { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4499 | Expr::Column(col) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4506 | Expr::Binary { op, left, right } => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4538 | Expr::Unary { op, expr: inner } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4711 | _ => "?".to_string(), // Fallback for any remaining expressions [INFO] [stdout] | ^ ...and 15 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_base_reg` [INFO] [stdout] --> src/executor/select/mod.rs:2126:25 [INFO] [stdout] | [INFO] [stdout] 2126 | let key_base_reg = self.next_reg; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_base_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_start_label` [INFO] [stdout] --> src/executor/select/mod.rs:2632:13 [INFO] [stdout] | [INFO] [stdout] 2632 | let loop_start_label = *loop_labels.last().unwrap_or(&self.alloc_label()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_start_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_base_reg` [INFO] [stdout] --> src/executor/select/mod.rs:2743:47 [INFO] [stdout] | [INFO] [stdout] 2743 | let (is_index_scan, index_cursor, key_base_reg, key_count, is_rowid_eq) = scan_info [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_base_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_count` [INFO] [stdout] --> src/executor/select/mod.rs:2743:61 [INFO] [stdout] | [INFO] [stdout] 2743 | let (is_index_scan, index_cursor, key_base_reg, key_count, is_rowid_eq) = scan_info [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_start_label` [INFO] [stdout] --> src/executor/select/mod.rs:4336:13 [INFO] [stdout] | [INFO] [stdout] 4336 | let loop_start_label = *loop_labels.last().unwrap_or(&self.alloc_label()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_start_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/executor/select/mod.rs:5319:18 [INFO] [stdout] | [INFO] [stdout] 5319 | for (idx, maybe_offset) in non_agg_indices.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_idx` [INFO] [stdout] --> src/executor/select/mod.rs:6992:29 [INFO] [stdout] | [INFO] [stdout] 6992 | if let Some(col_idx) = self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/executor/select/mod.rs:7188:9 [INFO] [stdout] | [INFO] [stdout] 7188 | level: &WhereLevel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_cursor` [INFO] [stdout] --> src/executor/select/mod.rs:10173:9 [INFO] [stdout] | [INFO] [stdout] 10173 | table_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_info` [INFO] [stdout] --> src/executor/select/mod.rs:10178:9 [INFO] [stdout] | [INFO] [stdout] 10178 | where_info: &Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_limits` [INFO] [stdout] --> src/storage/btree/mod.rs:4396:33 [INFO] [stdout] | [INFO] [stdout] 4396 | let (root_mem_page, root_limits) = _cursor.load_page(&mut shared_guard, root_pgno)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_limits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/update.rs:1065:17 [INFO] [stdout] | [INFO] [stdout] 1065 | let mut all_match_label = conflict_label; [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: unused variable: `idx_name` [INFO] [stdout] --> src/executor/update.rs:1002:14 [INFO] [stdout] | [INFO] [stdout] 1002 | for (idx_name, col_indices) in unique_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipk_col` [INFO] [stdout] --> src/executor/update.rs:1391:13 [INFO] [stdout] | [INFO] [stdout] 1391 | let ipk_col = self.get_ipk_column_index(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipk_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/executor/where_clause.rs:3002:13 [INFO] [stdout] | [INFO] [stdout] 3002 | for term in planner.where_clause.terms.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vdbe/engine/mod.rs:8554:13 [INFO] [stdout] | [INFO] [stdout] 3322 | Opcode::Count => { [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 8554 | Opcode::Count => { [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vdbe/engine/mod.rs:5067:37 [INFO] [stdout] | [INFO] [stdout] 5067 | ... let mut text = 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/vdbe/engine/mod.rs:5846:25 [INFO] [stdout] | [INFO] [stdout] 5846 | let mut skip_final_insert = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_table_name` is assigned to, but never used [INFO] [stdout] --> src/vdbe/engine/mod.rs:2216:25 [INFO] [stdout] | [INFO] [stdout] 2216 | let mut index_table_name: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index_table_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:3099:25 [INFO] [stdout] | [INFO] [stdout] 3099 | let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:3396:21 [INFO] [stdout] | [INFO] [stdout] 3396 | let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5057:33 [INFO] [stdout] | [INFO] [stdout] 5057 | ... let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5058:33 [INFO] [stdout] | [INFO] [stdout] 5058 | ... let schema = self.schema.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtab_name` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5068:46 [INFO] [stdout] | [INFO] [stdout] 5068 | ... if let (Some(vtab_name), Some(rowid)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vtab_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowid` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5068:63 [INFO] [stdout] | [INFO] [stdout] 5068 | ... if let (Some(vtab_name), Some(rowid)) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5374:21 [INFO] [stdout] | [INFO] [stdout] 5374 | let btree = btree_arc.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6125:21 [INFO] [stdout] | [INFO] [stdout] 6125 | let btree = btree_arc.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6126:21 [INFO] [stdout] | [INFO] [stdout] 6126 | let schema = self.schema.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6292:37 [INFO] [stdout] | [INFO] [stdout] 6292 | if let Some(ref btree) = btree_arc { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2270:45 [INFO] [stdout] | [INFO] [stdout] 2270 | ... index_table_name = Some(index.table.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2290:53 [INFO] [stdout] | [INFO] [stdout] 2290 | ... index_table_name = Some(idx.table.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2348:57 [INFO] [stdout] | [INFO] [stdout] 2348 | ... index_table_name = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2370:65 [INFO] [stdout] | [INFO] [stdout] 2370 | ... index_table_name = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BtTableLockEntry` is more private than the item `BtShared::table_locks` [INFO] [stdout] --> src/storage/btree/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub table_locks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `BtShared::table_locks` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BtTableLockEntry` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/storage/btree/types.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) struct BtTableLockEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_leaf` [INFO] [stdout] --> src/rtree.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn deserialize_node(&self, data: &[u8], is_leaf: bool) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite3-ffi` [INFO] [stdout] --> tests/exec_comparison.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "sqlite3-ffi")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossterm`, `default`, `fts3`, `fts5`, `json`, `rtree`, `session`, `tcl`, and `tui` [INFO] [stdout] = help: consider adding `sqlite3-ffi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/rustql.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | _ => break, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bin/rustql.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 316 | Ok(StepResult::Row) => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 329 | Ok(StepResult::Done) => break, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 330 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 339 | _ => break, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/rustql.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | _ => break, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bin/rustql.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 316 | Ok(StepResult::Row) => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 329 | Ok(StepResult::Done) => break, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 330 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 339 | _ => break, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlite3_column_int64` [INFO] [stdout] --> tests/update_or_replace.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | sqlite3_close, sqlite3_column_count, sqlite3_column_int64, sqlite3_column_text, [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: `sqlite3_column_int64` [INFO] [stdout] --> tests/replace_partial_index.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | sqlite3_close, sqlite3_column_count, sqlite3_column_int64, sqlite3_column_text, [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 variable: `root_limits` [INFO] [stdout] --> src/storage/btree/mod.rs:4396:33 [INFO] [stdout] | [INFO] [stdout] 4396 | let (root_mem_page, root_limits) = _cursor.load_page(&mut shared_guard, root_pgno)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_limits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/btree/mod.rs:7170:13 [INFO] [stdout] | [INFO] [stdout] 7170 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7191:13 [INFO] [stdout] | [INFO] [stdout] 7191 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7212:13 [INFO] [stdout] | [INFO] [stdout] 7212 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7229:13 [INFO] [stdout] | [INFO] [stdout] 7229 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7262:13 [INFO] [stdout] | [INFO] [stdout] 7262 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7299:13 [INFO] [stdout] | [INFO] [stdout] 7299 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7366:13 [INFO] [stdout] | [INFO] [stdout] 7366 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7437:13 [INFO] [stdout] | [INFO] [stdout] 7437 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7460:13 [INFO] [stdout] | [INFO] [stdout] 7460 | let mut btree = Arc::try_unwrap(btree_arc).ok().unwrap(); [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/storage/btree/mod.rs:7834:13 [INFO] [stdout] | [INFO] [stdout] 7834 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7859:13 [INFO] [stdout] | [INFO] [stdout] 7859 | let mut btree = unwrap_arc(btree); [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/storage/btree/mod.rs:7886:13 [INFO] [stdout] | [INFO] [stdout] 7886 | let mut btree = unwrap_arc(btree); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset2` [INFO] [stdout] --> src/storage/btree/mod.rs:8159:13 [INFO] [stdout] | [INFO] [stdout] 8159 | let offset2 = page.allocate_space(100, limits).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset1` [INFO] [stdout] --> src/storage/btree/mod.rs:8220:13 [INFO] [stdout] | [INFO] [stdout] 8220 | let offset1 = page.allocate_space(100, limits).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/wal.rs:1606:13 [INFO] [stdout] | [INFO] [stdout] 1606 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:1749:13 [INFO] [stdout] | [INFO] [stdout] 1749 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:1885:13 [INFO] [stdout] | [INFO] [stdout] 1885 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:1977:13 [INFO] [stdout] | [INFO] [stdout] 1977 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:2188:13 [INFO] [stdout] | [INFO] [stdout] 2188 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:2504:13 [INFO] [stdout] | [INFO] [stdout] 2504 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:2716:13 [INFO] [stdout] | [INFO] [stdout] 2716 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:3063:13 [INFO] [stdout] | [INFO] [stdout] 3063 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:3267:13 [INFO] [stdout] | [INFO] [stdout] 3267 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:3655:13 [INFO] [stdout] | [INFO] [stdout] 3655 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [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/storage/wal.rs:3940:13 [INFO] [stdout] | [INFO] [stdout] 3940 | let mut wal = Wal::open(&get_test_db_path(), 4096).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vdbe/engine/mod.rs:8554:13 [INFO] [stdout] | [INFO] [stdout] 3322 | Opcode::Count => { [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 8554 | Opcode::Count => { [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vdbe/engine/mod.rs:5067:37 [INFO] [stdout] | [INFO] [stdout] 5067 | ... let mut text = 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/vdbe/engine/mod.rs:5846:25 [INFO] [stdout] | [INFO] [stdout] 5846 | let mut skip_final_insert = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_table_name` is assigned to, but never used [INFO] [stdout] --> src/vdbe/engine/mod.rs:2216:25 [INFO] [stdout] | [INFO] [stdout] 2216 | let mut index_table_name: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index_table_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:3099:25 [INFO] [stdout] | [INFO] [stdout] 3099 | let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:3396:21 [INFO] [stdout] | [INFO] [stdout] 3396 | let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5057:33 [INFO] [stdout] | [INFO] [stdout] 5057 | ... let btree = self.btree.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5058:33 [INFO] [stdout] | [INFO] [stdout] 5058 | ... let schema = self.schema.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtab_name` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5068:46 [INFO] [stdout] | [INFO] [stdout] 5068 | ... if let (Some(vtab_name), Some(rowid)) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vtab_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowid` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5068:63 [INFO] [stdout] | [INFO] [stdout] 5068 | ... if let (Some(vtab_name), Some(rowid)) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:5374:21 [INFO] [stdout] | [INFO] [stdout] 5374 | let btree = btree_arc.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6125:21 [INFO] [stdout] | [INFO] [stdout] 6125 | let btree = btree_arc.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6126:21 [INFO] [stdout] | [INFO] [stdout] 6126 | let schema = self.schema.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btree` [INFO] [stdout] --> src/vdbe/engine/mod.rs:6292:37 [INFO] [stdout] | [INFO] [stdout] 6292 | if let Some(ref btree) = btree_arc { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2270:45 [INFO] [stdout] | [INFO] [stdout] 2270 | ... index_table_name = Some(index.table.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2290:53 [INFO] [stdout] | [INFO] [stdout] 2290 | ... index_table_name = Some(idx.table.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2348:57 [INFO] [stdout] | [INFO] [stdout] 2348 | ... index_table_name = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_table_name` is never read [INFO] [stdout] --> src/vdbe/engine/mod.rs:2370:65 [INFO] [stdout] | [INFO] [stdout] 2370 | ... index_table_name = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BtTableLockEntry` is more private than the item `BtShared::table_locks` [INFO] [stdout] --> src/storage/btree/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub table_locks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `BtShared::table_locks` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BtTableLockEntry` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/storage/btree/types.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) struct BtTableLockEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vdbe/engine/handlers/mod.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn as_context(&mut self) -> OpcodeContext { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 296 | pub fn as_context(&mut self) -> OpcodeContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.45s [INFO] running `Command { std: "docker" "inspect" "f55b32fd463f235da7989a2845bca28514186b70009bd3c633d546d4b1b937c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55b32fd463f235da7989a2845bca28514186b70009bd3c633d546d4b1b937c9", kill_on_drop: false }` [INFO] [stdout] f55b32fd463f235da7989a2845bca28514186b70009bd3c633d546d4b1b937c9