[INFO] cloning repository https://github.com/Lol3rrr/s3db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lol3rrr/s3db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fs3db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fs3db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b323be44d59787057419eea0fe0b0fd9d8cfdcf [INFO] checking Lol3rrr/s3db against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fs3db" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lol3rrr/s3db on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lol3rrr/s3db [INFO] finished tweaking git repo https://github.com/Lol3rrr/s3db [INFO] tweaked toml for git repo https://github.com/Lol3rrr/s3db written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lol3rrr/s3db 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99a5629682d99836eed4d56c81941f9e942e51d8c47a58944443eea0ac8e845b [INFO] running `Command { std: "docker" "start" "-a" "99a5629682d99836eed4d56c81941f9e942e51d8c47a58944443eea0ac8e845b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99a5629682d99836eed4d56c81941f9e942e51d8c47a58944443eea0ac8e845b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a5629682d99836eed4d56c81941f9e942e51d8c47a58944443eea0ac8e845b", kill_on_drop: false }` [INFO] [stdout] 99a5629682d99836eed4d56c81941f9e942e51d8c47a58944443eea0ac8e845b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0859de20e964cdb52f9ebd9934b51b692623baa267108ea6f4c741522886ddad [INFO] running `Command { std: "docker" "start" "-a" "0859de20e964cdb52f9ebd9934b51b692623baa267108ea6f4c741522886ddad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking s3db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/execution/naive/aggregate.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | ra::{self, Attribute, AttributeId, RaValueExpression}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parser`, `error::dbg_dmp` [INFO] [stdout] --> src/postgres.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::{error::dbg_dmp, IResult, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/postgres/message.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::dbg_dmp` [INFO] [stdout] --> src/postgres/message.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::{error::dbg_dmp, IResult, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_string` [INFO] [stdout] --> src/postgres/message.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{parse_string, read_string, ParseMessageError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/ra/delete.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Attribute, AttributeId, ParseSelectError, RaCondition, RaExpression}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/execution/naive/aggregate.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | ra::{self, Attribute, AttributeId, RaValueExpression}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parser`, `error::dbg_dmp` [INFO] [stdout] --> src/postgres.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::{error::dbg_dmp, IResult, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/postgres/message.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::dbg_dmp` [INFO] [stdout] --> src/postgres/message.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::{error::dbg_dmp, IResult, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_string` [INFO] [stdout] --> src/postgres/message.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{parse_string, read_string, ParseMessageError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> src/ra/delete.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Attribute, AttributeId, ParseSelectError, RaCondition, RaExpression}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnReference`, `Identifier` [INFO] [stdout] --> src/ra/delete.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | sql::{ColumnReference, Identifier, Literal, Query}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AttributeId` is imported redundantly [INFO] [stdout] --> src/ra/delete.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | use super::*; [INFO] [stdout] | -------- the item `AttributeId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RaCondition` is imported redundantly [INFO] [stdout] --> src/ra/delete.rs:76:69 [INFO] [stdout] | [INFO] [stdout] 76 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | use super::*; [INFO] [stdout] | -------- the item `RaCondition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RaExpression` is imported redundantly [INFO] [stdout] --> src/ra/delete.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | RaExpression, RaValueExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | use super::*; [INFO] [stdout] | -------- the item `RaExpression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Literal` is imported redundantly [INFO] [stdout] --> src/sql/alter.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use crate::sql::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | use super::*; [INFO] [stdout] | -------- the item `Literal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/sql/select/order.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_str_eq` [INFO] [stdout] --> src/sql/condition.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | use pretty_assertions::{assert_eq, assert_str_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionCall` [INFO] [stdout] --> src/sql/condition.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | ColumnReference, FunctionCall, Literal, OrderBy, Select, TableExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/execution/naive.rs:975:36 [INFO] [stdout] | [INFO] [stdout] 975 | .map(|((_, n, ty, _), name)| (name.clone(), ty, Vec::new())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/execution/naive.rs:975:36 [INFO] [stdout] | [INFO] [stdout] 975 | .map(|((_, n, ty, _), name)| (name.clone(), ty, Vec::new())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formats` [INFO] [stdout] --> src/execution/naive.rs:1309:66 [INFO] [stdout] | [INFO] [stdout] 1309 | ... ExecuteResult::Select { content, formats } => content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `formats: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trunc_table` [INFO] [stdout] --> src/execution/naive.rs:1864:38 [INFO] [stdout] | [INFO] [stdout] 1864 | Query::TruncateTable(trunc_table) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trunc_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cte_placeholder_types` [INFO] [stdout] --> src/execution/naive.rs:1902:34 [INFO] [stdout] | [INFO] [stdout] 1902 | let (ra_cte, cte_placeholder_types) = ra::parse_ctes(cte, &schemas) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cte_placeholder_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1200:83 [INFO] [stdout] | [INFO] [stdout] 1200 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formats` [INFO] [stdout] --> src/execution/naive.rs:1309:66 [INFO] [stdout] | [INFO] [stdout] 1309 | ... ExecuteResult::Select { content, formats } => content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `formats: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trunc_table` [INFO] [stdout] --> src/execution/naive.rs:1864:38 [INFO] [stdout] | [INFO] [stdout] 1864 | Query::TruncateTable(trunc_table) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trunc_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cte_placeholder_types` [INFO] [stdout] --> src/execution/naive.rs:1902:34 [INFO] [stdout] | [INFO] [stdout] 1902 | let (ra_cte, cte_placeholder_types) = ra::parse_ctes(cte, &schemas) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cte_placeholder_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1275:59 [INFO] [stdout] | [INFO] [stdout] 1275 | ... .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1307:43 [INFO] [stdout] | [INFO] [stdout] 1307 | ... .map_err(|e| ExecuteBoundError::Other("Executing Query"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1463:83 [INFO] [stdout] | [INFO] [stdout] 1463 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1609:83 [INFO] [stdout] | [INFO] [stdout] 1609 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1200:83 [INFO] [stdout] | [INFO] [stdout] 1200 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1275:59 [INFO] [stdout] | [INFO] [stdout] 1275 | ... .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1307:43 [INFO] [stdout] | [INFO] [stdout] 1307 | ... .map_err(|e| ExecuteBoundError::Other("Executing Query"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1463:83 [INFO] [stdout] | [INFO] [stdout] 1463 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/execution/naive.rs:1609:83 [INFO] [stdout] | [INFO] [stdout] 1609 | ... let tmp = storage::Data::realize(ty, &value).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/storage/inmemory.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | guard: Self::TransactionGuard, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_transactions` [INFO] [stdout] --> src/storage/inmemory.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let active_transactions = self.active_tids.try_borrow().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/storage/inmemory.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | guard: Self::TransactionGuard, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_transactions` [INFO] [stdout] --> src/storage/inmemory.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let active_transactions = self.active_tids.try_borrow().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/storage/inmemory.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | transaction: &Self::TransactionGuard, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:627:37 [INFO] [stdout] | [INFO] [stdout] 627 | None => Err(EvaulateRaError::UnknownAttribute { attribute: todo!("{:?} - {:?}", name, a_id) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:768:40 [INFO] [stdout] | [INFO] [stdout] 768 | .ok_or_else(|| EvaulateRaError::UnknownAttribute { attribute: todo!() })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:773:63 [INFO] [stdout] | [INFO] [stdout] 773 | let value = outer.get(a_id).ok_or_else(|| EvaulateRaError::UnknownAttribute { attribute: todo!() })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:627:37 [INFO] [stdout] | [INFO] [stdout] 627 | None => Err(EvaulateRaError::UnknownAttribute { attribute: todo!("{:?} - {:?}", name, a_id) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:768:40 [INFO] [stdout] | [INFO] [stdout] 768 | .ok_or_else(|| EvaulateRaError::UnknownAttribute { attribute: todo!() })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/naive.rs:773:63 [INFO] [stdout] | [INFO] [stdout] 773 | let value = outer.get(a_id).ok_or_else(|| EvaulateRaError::UnknownAttribute { attribute: todo!() })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/execution/naive.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | ra::RaExpression::Renamed { inner, .. } => { [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/execution/naive.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | ra::RaExpression::BaseRelation { name, columns } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/execution/naive.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | ra::RaExpression::CTE { name, columns } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part` [INFO] [stdout] --> src/execution/naive.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | for part in parts { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/execution/naive.rs:517:47 [INFO] [stdout] | [INFO] [stdout] 517 | ra::RaExpression::Limit { inner, limit, offset } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/execution/naive.rs:618:57 [INFO] [stdout] | [INFO] [stdout] 618 | ra::RaConditionValue::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/execution/naive.rs:619:82 [INFO] [stdout] | [INFO] [stdout] 619 | let data_result = row.data.iter().zip(columns.iter()).find(|(data, column)| &column.2 == a_id).map(|(d, _)| d); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/naive.rs:798:29 [INFO] [stdout] | [INFO] [stdout] 798 | let mut tmp = outer.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/naive.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | let mut parts: Vec<_> = result [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/postgres/message.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | let (mut i, count) = nom::number::streaming::be_i16(i)?; [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/postgres/message.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut result = Vec::with_capacity(count as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/condition.rs:161:75 [INFO] [stdout] | [INFO] [stdout] 161 | let first_types = ra_first.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/condition.rs:166:77 [INFO] [stdout] | [INFO] [stdout] 166 | let second_types = ra_second.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ra/value.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ValueExpression::All => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | ... .map_err(|e| ParseSelectError::Other)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:360:39 [INFO] [stdout] | [INFO] [stdout] 360 | ... .map_err(|e| ParseSelectError::Other)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:407:31 [INFO] [stdout] | [INFO] [stdout] 407 | .map_err(|e| ParseSelectError::Other)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/ra/value.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/ra/value.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/value.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/value.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ra/value.rs:546:21 [INFO] [stdout] | [INFO] [stdout] 546 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/value.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/ra/value.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | RaFunction::Lower(val) => Ok(types::PossibleTypes::fixed(DataType::Text)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> src/ra/value.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | RaFunction::Substr { str_value, .. } => { [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:554:29 [INFO] [stdout] | [INFO] [stdout] 554 | Self::Renamed { name, value } => value.possible_type(scope), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ra/value.rs:564:24 [INFO] [stdout] | [INFO] [stdout] 564 | Self::List(elems) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/ra/value.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/value.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/value.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ra/value.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 599 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/value.rs:600:21 [INFO] [stdout] | [INFO] [stdout] 600 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> src/ra/value.rs:603:38 [INFO] [stdout] | [INFO] [stdout] 603 | RaFunction::Substr { str_value, .. } => Some(DataType::Text), [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:605:29 [INFO] [stdout] | [INFO] [stdout] 605 | Self::Renamed { name, value } => value.datatype(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/ra/aggregate.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | sql::AggregateExpression::AnyValue(val) => Err(ParseSelectError::NotImplemented( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> src/ra/aggregate.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | ValueExpression::Literal(lit) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/aggregate.rs:101:73 [INFO] [stdout] | [INFO] [stdout] 101 | let inner_ty = inner.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | Self::Renamed { inner, name } => inner.return_ty(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_id` [INFO] [stdout] --> src/ra/aggregate.rs:215:46 [INFO] [stdout] | [INFO] [stdout] 215 | AggregateExpression::Count { a_id } => Ok(()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `a_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:239:60 [INFO] [stdout] | [INFO] [stdout] 239 | ... RaValueExpression::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/ra/aggregate.rs:239:66 [INFO] [stdout] | [INFO] [stdout] 239 | ... RaValueExpression::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/aggregate.rs:252:37 [INFO] [stdout] | [INFO] [stdout] 252 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/aggregate.rs:253:37 [INFO] [stdout] | [INFO] [stdout] 253 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 258 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/aggregate.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ra/cte.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | Some(ctx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | Self::Renamed { name, inner } => inner.get_source(attribute), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/ra.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> src/ra.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | Self::CTE { name, columns } => None, // TODO [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/ra.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | Self::CTE { name, columns } => None, // TODO [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | Self::CTE { name, columns } => columns [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ra.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/execution/naive.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | ra::RaExpression::Renamed { inner, .. } => { [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/execution/naive.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | ra::RaExpression::BaseRelation { name, columns } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/execution/naive.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | ra::RaExpression::CTE { name, columns } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part` [INFO] [stdout] --> src/execution/naive.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | for part in parts { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/execution/naive.rs:517:47 [INFO] [stdout] | [INFO] [stdout] 517 | ra::RaExpression::Limit { inner, limit, offset } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_name` [INFO] [stdout] --> src/ra.rs:687:39 [INFO] [stdout] | [INFO] [stdout] 687 | .filter_map(|(f_name, f_id)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/execution/naive.rs:618:57 [INFO] [stdout] | [INFO] [stdout] 618 | ra::RaConditionValue::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/execution/naive.rs:619:82 [INFO] [stdout] | [INFO] [stdout] 619 | let data_result = row.data.iter().zip(columns.iter()).find(|(data, column)| &column.2 == a_id).map(|(d, _)| d); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/naive.rs:798:29 [INFO] [stdout] | [INFO] [stdout] 798 | let mut tmp = outer.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/naive.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | let mut parts: Vec<_> = result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sql/common/datatype.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | Self::VarChar { size } => -1, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sql/common/datatype.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | Self::Char { size } => -1, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched_value` [INFO] [stdout] --> src/sql/common.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | matched_value, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `matched_value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> src/sql/common.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | cases, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cases: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_case` [INFO] [stdout] --> src/sql/common.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | else_case, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `else_case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/common.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/postgres/message.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | let (mut i, count) = nom::number::streaming::be_i16(i)?; [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/postgres/message.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut result = Vec::with_capacity(count as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/condition.rs:161:75 [INFO] [stdout] | [INFO] [stdout] 161 | let first_types = ra_first.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/condition.rs:166:77 [INFO] [stdout] | [INFO] [stdout] 166 | let second_types = ra_second.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ra/value.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ValueExpression::All => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | ... .map_err(|e| ParseSelectError::Other)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:360:39 [INFO] [stdout] | [INFO] [stdout] 360 | ... .map_err(|e| ParseSelectError::Other)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/value.rs:407:31 [INFO] [stdout] | [INFO] [stdout] 407 | .map_err(|e| ParseSelectError::Other)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/ra/value.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/ra/value.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/value.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/value.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ra/value.rs:546:21 [INFO] [stdout] | [INFO] [stdout] 546 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/value.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/ra/value.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | RaFunction::Lower(val) => Ok(types::PossibleTypes::fixed(DataType::Text)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> src/ra/value.rs:550:38 [INFO] [stdout] | [INFO] [stdout] 550 | RaFunction::Substr { str_value, .. } => { [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:554:29 [INFO] [stdout] | [INFO] [stdout] 554 | Self::Renamed { name, value } => value.possible_type(scope), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ra/value.rs:564:24 [INFO] [stdout] | [INFO] [stdout] 564 | Self::List(elems) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/ra/value.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/value.rs:593:21 [INFO] [stdout] | [INFO] [stdout] 593 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/value.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ra/value.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 599 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/value.rs:600:21 [INFO] [stdout] | [INFO] [stdout] 600 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> src/ra/value.rs:603:38 [INFO] [stdout] | [INFO] [stdout] 603 | RaFunction::Substr { str_value, .. } => Some(DataType::Text), [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/value.rs:605:29 [INFO] [stdout] | [INFO] [stdout] 605 | Self::Renamed { name, value } => value.datatype(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/ra/aggregate.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | sql::AggregateExpression::AnyValue(val) => Err(ParseSelectError::NotImplemented( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> src/ra/aggregate.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | ValueExpression::Literal(lit) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ra/aggregate.rs:101:73 [INFO] [stdout] | [INFO] [stdout] 101 | let inner_ty = inner.possible_type(&scope).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | Self::Renamed { inner, name } => inner.return_ty(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_id` [INFO] [stdout] --> src/ra/aggregate.rs:215:46 [INFO] [stdout] | [INFO] [stdout] 215 | AggregateExpression::Count { a_id } => Ok(()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `a_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:239:60 [INFO] [stdout] | [INFO] [stdout] 239 | ... RaValueExpression::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/ra/aggregate.rs:239:66 [INFO] [stdout] | [INFO] [stdout] 239 | ... RaValueExpression::Attribute { name, ty, a_id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/ra/aggregate.rs:252:37 [INFO] [stdout] | [INFO] [stdout] 252 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/ra/aggregate.rs:253:37 [INFO] [stdout] | [INFO] [stdout] 253 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra/aggregate.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 258 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> src/ra/aggregate.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ra/cte.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | Some(ctx) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | Self::Renamed { name, inner } => inner.get_source(attribute), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/ra.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> src/ra.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | Self::CTE { name, columns } => None, // TODO [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/ra.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | Self::CTE { name, columns } => None, // TODO [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ra.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | Self::CTE { name, columns } => columns [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ra.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_name` [INFO] [stdout] --> src/ra.rs:687:39 [INFO] [stdout] | [INFO] [stdout] 687 | .filter_map(|(f_name, f_id)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ra.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 1650 | let err = RaExpression::parse_select(&select_query, &schemas).unwrap_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/sql/alter.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|(_, _, _, cname, _, _, _, dt, tm)| (cname, dt)), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sql/common/datatype.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | Self::VarChar { size } => -1, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/sql/common/datatype.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | Self::Char { size } => -1, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched_value` [INFO] [stdout] --> src/sql/common.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | matched_value, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `matched_value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> src/sql/common.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | cases, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cases: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_case` [INFO] [stdout] --> src/sql/common.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | else_case, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `else_case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/common.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/select/tableexpr.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collation` [INFO] [stdout] --> src/sql/common.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | let (remaining, collation) = type_modifier("COLLATE \"C\"".as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/sql/alter.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|(_, _, _, cname, _, _, _, dt, tm)| (cname, dt)), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/condition.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => break, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/condition.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | Err(e) => break, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/select/tableexpr.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cte` [INFO] [stdout] --> src/sql.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | Self::WithCTE { cte, query } => core::cmp::max(0, query.parameter_count()), [INFO] [stdout] | ^^^ help: try ignoring the field: `cte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:202:53 [INFO] [stdout] | [INFO] [stdout] 202 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/execution/naive/aggregate.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | Max { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 21 | value: Option, [INFO] [stdout] 22 | ty: DataType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/condition.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => break, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sql/condition.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | Err(e) => break, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> src/sql/condition.rs:407:14 [INFO] [stdout] | [INFO] [stdout] 407 | let (remaining, condition) = condition(query_str.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cte` [INFO] [stdout] --> src/sql.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | Self::WithCTE { cte, query } => core::cmp::max(0, query.parameter_count()), [INFO] [stdout] | ^^^ help: try ignoring the field: `cte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:202:53 [INFO] [stdout] | [INFO] [stdout] 202 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/data.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | let val = d.parse::().map_err(|e| (Self::Text(d), target))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `select` [INFO] [stdout] --> tests/ra.rs:536:10 [INFO] [stdout] | [INFO] [stdout] 536 | let (select, parameter_types) = RaExpression::parse_select(&select_query, &schemas).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_select` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `select` [INFO] [stdout] --> tests/ra.rs:592:10 [INFO] [stdout] | [INFO] [stdout] 592 | let (select, parameter_types) = RaExpression::parse_select(&select_query, &schemas).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_select` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `select` [INFO] [stdout] --> tests/ra.rs:820:10 [INFO] [stdout] | [INFO] [stdout] 820 | let (select, placeholders) = RaExpression::parse_select(&select, &schemas).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_select` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placeholders` [INFO] [stdout] --> tests/ra.rs:820:18 [INFO] [stdout] | [INFO] [stdout] 820 | let (select, placeholders) = RaExpression::parse_select(&select, &schemas).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placeholders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/execution/naive/aggregate.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | Max { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 21 | value: Option, [INFO] [stdout] 22 | ty: DataType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/execution/naive.rs:2053:13 [INFO] [stdout] | [INFO] [stdout] 2053 | storage.commit_transaction(trans).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2053 | let _ = storage.commit_transaction(trans).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 110 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared` [INFO] [stdout] --> tests/naive_engine_select.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | let prepared = engine.prepare(&query, &mut ctx).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/naive_engine_select.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | storage.commit_transaction(trans).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 241 | let _ = storage.commit_transaction(trans).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "0859de20e964cdb52f9ebd9934b51b692623baa267108ea6f4c741522886ddad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0859de20e964cdb52f9ebd9934b51b692623baa267108ea6f4c741522886ddad", kill_on_drop: false }` [INFO] [stdout] 0859de20e964cdb52f9ebd9934b51b692623baa267108ea6f4c741522886ddad