[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] bc5a78e3bfdb0b94773674dffe7e47ce60832aa0 [INFO] checking Lol3rrr/s3db against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/storage/Cargo.toml: unused manifest key: target.cfg(loom).dependencies.futures.no_default_features [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 857e5480f6bdd0d88b4060a139a754e04cc12a4a0d0515fd3a4b414b3413e44f [INFO] running `Command { std: "docker" "start" "-a" "857e5480f6bdd0d88b4060a139a754e04cc12a4a0d0515fd3a4b414b3413e44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857e5480f6bdd0d88b4060a139a754e04cc12a4a0d0515fd3a4b414b3413e44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857e5480f6bdd0d88b4060a139a754e04cc12a4a0d0515fd3a4b414b3413e44f", kill_on_drop: false }` [INFO] [stdout] 857e5480f6bdd0d88b4060a139a754e04cc12a4a0d0515fd3a4b414b3413e44f [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ba4c3c36b5e7944870ceec0d7abc177f992fe592036db07ca54cf70ff764994 [INFO] running `Command { std: "docker" "start" "-a" "4ba4c3c36b5e7944870ceec0d7abc177f992fe592036db07ca54cf70ff764994", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/storage/Cargo.toml: unused manifest key: target.cfg(loom).dependencies.futures.no_default_features [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking sql v0.1.0 (/opt/rustwide/workdir/sql) [INFO] [stdout] warning: the item `Literal` is imported redundantly [INFO] [stdout] --> sql/src/alter.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use crate::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | use super::*; [INFO] [stdout] | -------- the item `Literal` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/condition.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | ColumnReference, FunctionCall, Literal, OrderBy, Select, TableExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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: `size` [INFO] [stdout] --> sql/src/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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: unused variable: `collation` [INFO] [stdout] --> sql/src/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] --> sql/src/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: `tm` [INFO] [stdout] --> sql/src/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] --> sql/src/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: `e` [INFO] [stdout] --> sql/src/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: `e` [INFO] [stdout] --> sql/src/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] --> sql/src/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: `cte` [INFO] [stdout] --> sql/src/lib.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] --> sql/src/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] --> sql/src/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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining` [INFO] [stdout] --> sql/src/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: unused variable: `cte` [INFO] [stdout] --> sql/src/lib.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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicU64`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicU64`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `fields` are never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockList { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | head: AtomicPtr>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fields: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | position: AtomicUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fields`, `head`, and `block` are never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BlockSlot<'list, 'block, const N: usize, Y> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 35 | fields: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | head: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | block: &'block Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct BlockListHead<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | list: &'list BlockList, [INFO] [stdout] 43 | head: *mut Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lock`, `get_head`, `iter`, and `get_slot` are never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl BlockList [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | Y: Yielding, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 67 | { [INFO] [stdout] 68 | pub fn new(fields: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn lock(&self) -> impl Future> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | async fn get_head(&self) -> BlockListHead<'_, N, Y> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub async fn iter(&self) -> BlockIterator<'_, N, Y> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn get_slot<'s, 'list, 'block>(&'s self) -> BlockSlot<'list, 'block, N, Y> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `free` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 181 | impl Block { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_data` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl<'list, 'block, const N: usize, Y> BlockSlot<'list, 'block, N, Y> { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] 254 | pub fn insert_data(self, data: Vec, created_at: u64, expired_at: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nothing` is never constructed [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum LockState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Nothing(Option>>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'list, const N: usize, Y> LockFuture<'list, N, Y> { [INFO] [stdout] | ------------------------------------------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(list: &'list BlockList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockIterator<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub(super) list: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | for (elem, (expected, actual)) in expected.iter().zip(rows.iter()).enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BlockSlot<'list, 'block, const N: usize, Y> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | fields: usize, [INFO] [stdout] 36 | head: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockIterator<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub(super) list: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking s3db v0.1.0 (/opt/rustwide/workdir/s3db) [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> s3db/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 import: `Buf` [INFO] [stdout] --> s3db/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] --> s3db/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] --> s3db/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: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, ColumnReference, Combination, DataType, Identifier, Select, TableExpression, [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra/aggregate.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use sql::{self, DataType, Literal, ValueExpression}; [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> s3db/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: the item `Storage` is imported redundantly [INFO] [stdout] --> s3db/src/execution/naive.rs:1895:64 [INFO] [stdout] | [INFO] [stdout] 1895 | use crate::storage::{EntireRelation, PartialRelation, Row, Storage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1899 | use super::*; [INFO] [stdout] | -------- the item `Storage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> s3db/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] --> s3db/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] --> s3db/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: the item `AttributeId` is imported redundantly [INFO] [stdout] --> s3db/src/ra/delete.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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] --> s3db/src/ra/delete.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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] --> s3db/src/ra/delete.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | RaExpression, RaValueExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | use super::*; [INFO] [stdout] | -------- the item `RaExpression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnReference`, `Identifier` [INFO] [stdout] --> s3db/src/ra/delete.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | use sql::{ColumnReference, Identifier, Literal, Query}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra/aggregate.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use sql::{self, DataType, Literal, ValueExpression}; [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> s3db/src/execution/naive.rs:915:36 [INFO] [stdout] | [INFO] [stdout] 915 | .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] --> s3db/src/execution/naive.rs:915:36 [INFO] [stdout] | [INFO] [stdout] 915 | .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] --> s3db/src/execution/naive.rs:1249:66 [INFO] [stdout] | [INFO] [stdout] 1249 | ... 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] --> s3db/src/execution/naive.rs:1804:38 [INFO] [stdout] | [INFO] [stdout] 1804 | 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] --> s3db/src/execution/naive.rs:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | 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: `formats` [INFO] [stdout] --> s3db/src/execution/naive.rs:1249:66 [INFO] [stdout] | [INFO] [stdout] 1249 | ... 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] --> s3db/src/execution/naive.rs:1804:38 [INFO] [stdout] | [INFO] [stdout] 1804 | 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] --> s3db/src/execution/naive.rs:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | 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] --> s3db/src/execution/naive.rs:1140:83 [INFO] [stdout] | [INFO] [stdout] 1140 | ... 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] --> s3db/src/execution/naive.rs:1215:59 [INFO] [stdout] | [INFO] [stdout] 1215 | ... .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] --> s3db/src/execution/naive.rs:1247:43 [INFO] [stdout] | [INFO] [stdout] 1247 | ... .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] --> s3db/src/execution/naive.rs:1403:83 [INFO] [stdout] | [INFO] [stdout] 1403 | ... 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] --> s3db/src/execution/naive.rs:1549:83 [INFO] [stdout] | [INFO] [stdout] 1549 | ... 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] --> s3db/src/execution/naive.rs:1140:83 [INFO] [stdout] | [INFO] [stdout] 1140 | ... 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] --> s3db/src/execution/naive.rs:1215:59 [INFO] [stdout] | [INFO] [stdout] 1215 | ... .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] --> s3db/src/execution/naive.rs:1247:43 [INFO] [stdout] | [INFO] [stdout] 1247 | ... .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] --> s3db/src/execution/naive.rs:1403:83 [INFO] [stdout] | [INFO] [stdout] 1403 | ... 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] --> s3db/src/execution/naive.rs:1549:83 [INFO] [stdout] | [INFO] [stdout] 1549 | ... 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: `transaction` [INFO] [stdout] --> s3db/src/storage/inmemory.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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] --> s3db/src/storage/inmemory.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | 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] --> s3db/src/storage/inmemory.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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] --> s3db/src/storage/inmemory.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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] --> s3db/src/storage/inmemory.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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] --> s3db/src/storage/inmemory.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | 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] --> s3db/src/storage/inmemory.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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] --> s3db/src/storage/inmemory.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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] --> s3db/src/execution/naive.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | 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] --> s3db/src/execution/naive.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | 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] --> s3db/src/execution/naive.rs:708:40 [INFO] [stdout] | [INFO] [stdout] 708 | .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] --> s3db/src/execution/naive.rs:713:63 [INFO] [stdout] | [INFO] [stdout] 713 | 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] --> s3db/src/execution/naive.rs:708:40 [INFO] [stdout] | [INFO] [stdout] 708 | .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] --> s3db/src/execution/naive.rs:713:63 [INFO] [stdout] | [INFO] [stdout] 713 | 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] --> s3db/src/execution/naive.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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] --> s3db/src/execution/naive.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | 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] --> s3db/src/execution/naive.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | 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] --> s3db/src/execution/naive.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | 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] --> s3db/src/execution/naive.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | 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] --> s3db/src/execution/naive.rs:558:57 [INFO] [stdout] | [INFO] [stdout] 558 | 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] --> s3db/src/execution/naive.rs:559:82 [INFO] [stdout] | [INFO] [stdout] 559 | 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: unused variable: `inner` [INFO] [stdout] --> s3db/src/execution/naive.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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] --> s3db/src/execution/naive.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | 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] --> s3db/src/execution/naive.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | 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] --> s3db/src/execution/naive.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | 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] --> s3db/src/execution/naive.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | ra::RaExpression::Limit { inner, limit, offset } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> s3db/src/execution/naive.rs:738:29 [INFO] [stdout] | [INFO] [stdout] 738 | 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] --> s3db/src/execution/naive.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | 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] --> s3db/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] --> s3db/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: `ty` [INFO] [stdout] --> s3db/src/execution/naive.rs:558:57 [INFO] [stdout] | [INFO] [stdout] 558 | 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] --> s3db/src/execution/naive.rs:559:82 [INFO] [stdout] | [INFO] [stdout] 559 | 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: unused variable: `e` [INFO] [stdout] --> s3db/src/ra/condition.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | 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] --> s3db/src/ra/condition.rs:163:77 [INFO] [stdout] | [INFO] [stdout] 163 | 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] --> s3db/src/ra/value.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | 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] --> s3db/src/ra/value.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | ... .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] --> s3db/src/ra/value.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | ... .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] --> s3db/src/ra/value.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 405 | .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] --> s3db/src/ra/value.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> s3db/src/ra/value.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/value.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | 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] --> s3db/src/ra/value.rs:548:38 [INFO] [stdout] | [INFO] [stdout] 548 | 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] --> s3db/src/ra/value.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | 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] --> s3db/src/ra/value.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | 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] --> s3db/src/ra/value.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> s3db/src/ra/value.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | 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] --> s3db/src/ra/value.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | Self::Renamed { name, value } => value.datatype(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> s3db/src/execution/naive.rs:738:29 [INFO] [stdout] | [INFO] [stdout] 738 | 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] --> s3db/src/execution/naive.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | let mut parts: Vec<_> = result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 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] --> s3db/src/ra/aggregate.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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] --> s3db/src/ra/aggregate.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | 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] --> s3db/src/ra/aggregate.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | 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] --> s3db/src/ra/aggregate.rs:212:46 [INFO] [stdout] | [INFO] [stdout] 212 | 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] --> s3db/src/ra/aggregate.rs:236:60 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:236:66 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> s3db/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] --> s3db/src/ra.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | 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] --> s3db/src/ra.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> s3db/src/ra.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> s3db/src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | 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] --> s3db/src/ra.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | 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] --> s3db/src/ra.rs:685:39 [INFO] [stdout] | [INFO] [stdout] 685 | .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: variable does not need to be mutable [INFO] [stdout] --> s3db/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] --> s3db/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] --> s3db/src/storage/data.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | 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] --> s3db/src/storage/data.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | 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] --> s3db/src/storage/data.rs:204:53 [INFO] [stdout] | [INFO] [stdout] 204 | 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] --> s3db/src/ra/condition.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | 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] --> s3db/src/ra/condition.rs:163:77 [INFO] [stdout] | [INFO] [stdout] 163 | 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: field `ty` is never read [INFO] [stdout] --> s3db/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: unreachable pattern [INFO] [stdout] --> s3db/src/ra/value.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | 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] --> s3db/src/ra/value.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | ... .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] --> s3db/src/ra/value.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | ... .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] --> s3db/src/ra/value.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 405 | .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] --> s3db/src/ra/value.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> s3db/src/ra/value.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/value.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | 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] --> s3db/src/ra/value.rs:548:38 [INFO] [stdout] | [INFO] [stdout] 548 | 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] --> s3db/src/ra/value.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | 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] --> s3db/src/ra/value.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | 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] --> s3db/src/ra/value.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> s3db/src/ra/value.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | 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] --> s3db/src/ra/value.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | 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] --> s3db/src/ra/aggregate.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 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] --> s3db/src/ra/aggregate.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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] --> s3db/src/ra/aggregate.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | 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] --> s3db/src/ra/aggregate.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | 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] --> s3db/src/ra/aggregate.rs:212:46 [INFO] [stdout] | [INFO] [stdout] 212 | 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] --> s3db/src/ra/aggregate.rs:236:60 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:236:66 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> s3db/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] --> s3db/src/ra.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | 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] --> s3db/src/ra.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> s3db/src/ra.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> s3db/src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | 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] --> s3db/src/ra.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | 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] --> s3db/src/ra.rs:685:39 [INFO] [stdout] | [INFO] [stdout] 685 | .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] --> s3db/src/ra.rs:1648:13 [INFO] [stdout] | [INFO] [stdout] 1648 | 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: `e` [INFO] [stdout] --> s3db/src/storage/data.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | 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] --> s3db/src/storage/data.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | 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] --> s3db/src/storage/data.rs:204:53 [INFO] [stdout] | [INFO] [stdout] 204 | 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] --> s3db/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 `Result` that must be used [INFO] [stdout] --> s3db/src/execution/naive.rs:1993:13 [INFO] [stdout] | [INFO] [stdout] 1993 | 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] 1993 | let _ = storage.commit_transaction(trans).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `select` [INFO] [stdout] --> s3db/tests/ra.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 589 | 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] --> s3db/tests/ra.rs:645:10 [INFO] [stdout] | [INFO] [stdout] 645 | 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] --> s3db/tests/ra.rs:873:10 [INFO] [stdout] | [INFO] [stdout] 873 | 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] --> s3db/tests/ra.rs:873:18 [INFO] [stdout] | [INFO] [stdout] 873 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared` [INFO] [stdout] --> s3db/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] --> s3db/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 11.81s [INFO] running `Command { std: "docker" "inspect" "4ba4c3c36b5e7944870ceec0d7abc177f992fe592036db07ca54cf70ff764994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba4c3c36b5e7944870ceec0d7abc177f992fe592036db07ca54cf70ff764994", kill_on_drop: false }` [INFO] [stdout] 4ba4c3c36b5e7944870ceec0d7abc177f992fe592036db07ca54cf70ff764994 [INFO] checking Lol3rrr/s3db against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fs3db" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lol3rrr/s3db on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-3-tc2/source/storage/Cargo.toml: unused manifest key: target.cfg(loom).dependencies.futures.no_default_features [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b942891ce2c3f18bfbb1f2421b855eef18897db6a10573e63996dee9ed6a5b2 [INFO] running `Command { std: "docker" "start" "-a" "1b942891ce2c3f18bfbb1f2421b855eef18897db6a10573e63996dee9ed6a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b942891ce2c3f18bfbb1f2421b855eef18897db6a10573e63996dee9ed6a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b942891ce2c3f18bfbb1f2421b855eef18897db6a10573e63996dee9ed6a5b2", kill_on_drop: false }` [INFO] [stdout] 1b942891ce2c3f18bfbb1f2421b855eef18897db6a10573e63996dee9ed6a5b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f8ac234a8a494ac9ffe93c4a588d6a1602c985b3b4d2c8534441de979b28b8 [INFO] running `Command { std: "docker" "start" "-a" "97f8ac234a8a494ac9ffe93c4a588d6a1602c985b3b4d2c8534441de979b28b8", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/storage/Cargo.toml: unused manifest key: target.cfg(loom).dependencies.futures.no_default_features [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking sql v0.1.0 (/opt/rustwide/workdir/sql) [INFO] [stdout] warning: the item `Literal` is imported redundantly [INFO] [stdout] --> sql/src/alter.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use crate::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | use super::*; [INFO] [stdout] | -------- the item `Literal` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/condition.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | ColumnReference, FunctionCall, Literal, OrderBy, Select, TableExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> sql/src/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: `tm` [INFO] [stdout] --> sql/src/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: `matched_value` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/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] --> sql/src/lib.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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sql/src/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] --> sql/src/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] --> sql/src/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: unused variable: `cte` [INFO] [stdout] --> sql/src/lib.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] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicU64`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicU64`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicIsize`, `AtomicPtr`, `AtomicUsize` [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{self, AtomicBool, AtomicIsize, AtomicPtr, AtomicU64, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `fields` are never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockList { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | head: AtomicPtr>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fields: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | position: AtomicUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fields`, `head`, and `block` are never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BlockSlot<'list, 'block, const N: usize, Y> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 35 | fields: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | head: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | block: &'block Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct BlockListHead<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 42 | list: &'list BlockList, [INFO] [stdout] 43 | head: *mut Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lock`, `get_head`, `iter`, and `get_slot` are never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl BlockList [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | Y: Yielding, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 67 | { [INFO] [stdout] 68 | pub fn new(fields: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn lock(&self) -> impl Future> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | async fn get_head(&self) -> BlockListHead<'_, N, Y> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub async fn iter(&self) -> BlockIterator<'_, N, Y> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn get_slot<'s, 'list, 'block>(&'s self) -> BlockSlot<'list, 'block, N, Y> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `free` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 181 | impl Block { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | unsafe fn free(ptr: *mut Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_data` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl<'list, 'block, const N: usize, Y> BlockSlot<'list, 'block, N, Y> { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] 254 | pub fn insert_data(self, data: Vec, created_at: u64, expired_at: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nothing` is never constructed [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum LockState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Nothing(Option>>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> storage/src/inmemory/blocklist/lock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'list, const N: usize, Y> LockFuture<'list, N, Y> { [INFO] [stdout] | ------------------------------------------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(list: &'list BlockList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockIterator<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub(super) list: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | for (elem, (expected, actual)) in expected.iter().zip(rows.iter()).enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct BlockSlot<'list, 'block, const N: usize, Y> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | fields: usize, [INFO] [stdout] 36 | head: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> storage/src/inmemory/blocklist/iter.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockIterator<'list, const N: usize, Y> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub(super) list: BlockListHead<'list, N, Y>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [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/s3db) [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> s3db/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 import: `Attribute` [INFO] [stdout] --> s3db/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 import: `Buf` [INFO] [stdout] --> s3db/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] --> s3db/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] --> s3db/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: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, ColumnReference, Combination, DataType, Identifier, Select, TableExpression, [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Storage` is imported redundantly [INFO] [stdout] --> s3db/src/execution/naive.rs:1895:64 [INFO] [stdout] | [INFO] [stdout] 1895 | use crate::storage::{EntireRelation, PartialRelation, Row, Storage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1899 | use super::*; [INFO] [stdout] | -------- the item `Storage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra/aggregate.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use sql::{self, DataType, Literal, ValueExpression}; [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> s3db/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] --> s3db/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] --> s3db/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: the item `AttributeId` is imported redundantly [INFO] [stdout] --> s3db/src/ra/delete.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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] --> s3db/src/ra/delete.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | AttributeId, ProjectionAttribute, RaComparisonOperator, RaCondition, RaConditionValue, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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] --> s3db/src/ra/delete.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | RaExpression, RaValueExpression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | use super::*; [INFO] [stdout] | -------- the item `RaExpression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnReference`, `Identifier` [INFO] [stdout] --> s3db/src/ra/delete.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | use sql::{ColumnReference, Identifier, Literal, Query}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sql` is imported redundantly [INFO] [stdout] --> s3db/src/ra/aggregate.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use sql::{self, DataType, Literal, ValueExpression}; [INFO] [stdout] | ^^^^ the item `sql` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> s3db/src/execution/naive.rs:915:36 [INFO] [stdout] | [INFO] [stdout] 915 | .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] --> s3db/src/execution/naive.rs:915:36 [INFO] [stdout] | [INFO] [stdout] 915 | .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] --> s3db/src/execution/naive.rs:1249:66 [INFO] [stdout] | [INFO] [stdout] 1249 | ... 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] --> s3db/src/execution/naive.rs:1804:38 [INFO] [stdout] | [INFO] [stdout] 1804 | 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] --> s3db/src/execution/naive.rs:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | 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: `formats` [INFO] [stdout] --> s3db/src/execution/naive.rs:1249:66 [INFO] [stdout] | [INFO] [stdout] 1249 | ... ExecuteResult::Select { content, formats } => content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `formats: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> s3db/src/execution/naive.rs:1140:83 [INFO] [stdout] | [INFO] [stdout] 1140 | ... 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] --> s3db/src/execution/naive.rs:1215:59 [INFO] [stdout] | [INFO] [stdout] 1215 | ... .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] --> s3db/src/execution/naive.rs:1247:43 [INFO] [stdout] | [INFO] [stdout] 1247 | ... .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] --> s3db/src/execution/naive.rs:1403:83 [INFO] [stdout] | [INFO] [stdout] 1403 | ... 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] --> s3db/src/execution/naive.rs:1549:83 [INFO] [stdout] | [INFO] [stdout] 1549 | ... 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: `trunc_table` [INFO] [stdout] --> s3db/src/execution/naive.rs:1804:38 [INFO] [stdout] | [INFO] [stdout] 1804 | 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] --> s3db/src/execution/naive.rs:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | 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] --> s3db/src/execution/naive.rs:1140:83 [INFO] [stdout] | [INFO] [stdout] 1140 | ... 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] --> s3db/src/execution/naive.rs:1215:59 [INFO] [stdout] | [INFO] [stdout] 1215 | ... .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] --> s3db/src/execution/naive.rs:1247:43 [INFO] [stdout] | [INFO] [stdout] 1247 | ... .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] --> s3db/src/execution/naive.rs:1403:83 [INFO] [stdout] | [INFO] [stdout] 1403 | ... 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] --> s3db/src/execution/naive.rs:1549:83 [INFO] [stdout] | [INFO] [stdout] 1549 | ... 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: `transaction` [INFO] [stdout] --> s3db/src/storage/inmemory.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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] --> s3db/src/storage/inmemory.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | 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] --> s3db/src/storage/inmemory.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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] --> s3db/src/storage/inmemory.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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] --> s3db/src/storage/inmemory.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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] --> s3db/src/storage/inmemory.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | 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] --> s3db/src/storage/inmemory.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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] --> s3db/src/storage/inmemory.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | 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] --> s3db/src/execution/naive.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | 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] --> s3db/src/execution/naive.rs:708:40 [INFO] [stdout] | [INFO] [stdout] 708 | .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] --> s3db/src/execution/naive.rs:713:63 [INFO] [stdout] | [INFO] [stdout] 713 | 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] --> s3db/src/execution/naive.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | 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] --> s3db/src/execution/naive.rs:708:40 [INFO] [stdout] | [INFO] [stdout] 708 | .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] --> s3db/src/execution/naive.rs:713:63 [INFO] [stdout] | [INFO] [stdout] 713 | 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] --> s3db/src/execution/naive.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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] --> s3db/src/execution/naive.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | 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] --> s3db/src/execution/naive.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | 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] --> s3db/src/execution/naive.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | 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] --> s3db/src/execution/naive.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | 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] --> s3db/src/execution/naive.rs:558:57 [INFO] [stdout] | [INFO] [stdout] 558 | 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] --> s3db/src/execution/naive.rs:559:82 [INFO] [stdout] | [INFO] [stdout] 559 | 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: unused variable: `inner` [INFO] [stdout] --> s3db/src/execution/naive.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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] --> s3db/src/execution/naive.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | 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] --> s3db/src/execution/naive.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | 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] --> s3db/src/execution/naive.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 373 | 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] --> s3db/src/execution/naive.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | ra::RaExpression::Limit { inner, limit, offset } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> s3db/src/execution/naive.rs:738:29 [INFO] [stdout] | [INFO] [stdout] 738 | 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] --> s3db/src/execution/naive.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | 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] --> s3db/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] --> s3db/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: `ty` [INFO] [stdout] --> s3db/src/execution/naive.rs:558:57 [INFO] [stdout] | [INFO] [stdout] 558 | 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] --> s3db/src/execution/naive.rs:559:82 [INFO] [stdout] | [INFO] [stdout] 559 | 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: unused variable: `e` [INFO] [stdout] --> s3db/src/ra/condition.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | 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] --> s3db/src/ra/condition.rs:163:77 [INFO] [stdout] | [INFO] [stdout] 163 | 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] --> s3db/src/ra/value.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | 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] --> s3db/src/ra/value.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | ... .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] --> s3db/src/ra/value.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | ... .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] --> s3db/src/ra/value.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 405 | .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] --> s3db/src/ra/value.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> s3db/src/ra/value.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/value.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | 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] --> s3db/src/ra/value.rs:548:38 [INFO] [stdout] | [INFO] [stdout] 548 | 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] --> s3db/src/ra/value.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | 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] --> s3db/src/ra/value.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | 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] --> s3db/src/ra/value.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> s3db/src/ra/value.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | 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] --> s3db/src/ra/value.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | Self::Renamed { name, value } => value.datatype(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> s3db/src/execution/naive.rs:738:29 [INFO] [stdout] | [INFO] [stdout] 738 | 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] --> s3db/src/execution/naive.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | let mut parts: Vec<_> = result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 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] --> s3db/src/ra/aggregate.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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] --> s3db/src/ra/aggregate.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | 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] --> s3db/src/ra/aggregate.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | 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] --> s3db/src/ra/aggregate.rs:212:46 [INFO] [stdout] | [INFO] [stdout] 212 | 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] --> s3db/src/ra/aggregate.rs:236:60 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:236:66 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> s3db/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] --> s3db/src/ra.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | 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] --> s3db/src/ra.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> s3db/src/ra.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> s3db/src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | Self::CTE { name, columns } => columns [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> s3db/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] --> s3db/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: `other` [INFO] [stdout] --> s3db/src/ra.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | 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] --> s3db/src/ra.rs:685:39 [INFO] [stdout] | [INFO] [stdout] 685 | .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: `e` [INFO] [stdout] --> s3db/src/ra/condition.rs:158:75 [INFO] [stdout] | [INFO] [stdout] 158 | 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] --> s3db/src/ra/condition.rs:163:77 [INFO] [stdout] | [INFO] [stdout] 163 | 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] --> s3db/src/ra/value.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | 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] --> s3db/src/ra/value.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | ... .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] --> s3db/src/ra/value.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | ... .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] --> s3db/src/ra/value.rs:405:31 [INFO] [stdout] | [INFO] [stdout] 405 | .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: `err` [INFO] [stdout] --> s3db/src/ra.rs:1648:13 [INFO] [stdout] | [INFO] [stdout] 1648 | 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: `first` [INFO] [stdout] --> s3db/src/ra/value.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | first, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `first: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> s3db/src/ra/value.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> s3db/src/ra/value.rs:547:35 [INFO] [stdout] | [INFO] [stdout] 547 | 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] --> s3db/src/ra/value.rs:548:38 [INFO] [stdout] | [INFO] [stdout] 548 | 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] --> s3db/src/ra/value.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | 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] --> s3db/src/ra/value.rs:562:24 [INFO] [stdout] | [INFO] [stdout] 562 | 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] --> s3db/src/ra/value.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | second, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `second: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> s3db/src/ra/value.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> s3db/src/ra/value.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/value.rs:592:21 [INFO] [stdout] | [INFO] [stdout] 592 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/value.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> s3db/src/ra/value.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/value.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_value` [INFO] [stdout] --> s3db/src/ra/value.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | 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] --> s3db/src/ra/value.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | Self::Renamed { name, value } => value.datatype(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> s3db/src/storage/data.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | 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] --> s3db/src/storage/data.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | 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] --> s3db/src/storage/data.rs:204:53 [INFO] [stdout] | [INFO] [stdout] 204 | 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: `val` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | 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] --> s3db/src/ra/aggregate.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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] --> s3db/src/ra/aggregate.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | 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] --> s3db/src/ra/aggregate.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | 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] --> s3db/src/ra/aggregate.rs:212:46 [INFO] [stdout] | [INFO] [stdout] 212 | 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] --> s3db/src/ra/aggregate.rs:236:60 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:236:66 [INFO] [stdout] | [INFO] [stdout] 236 | ... 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] --> s3db/src/ra/aggregate.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | ... length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | ... padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_called` [INFO] [stdout] --> s3db/src/ra/aggregate.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | ... is_called, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_called: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> s3db/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: `ctx` [INFO] [stdout] --> s3db/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 `Result` that must be used [INFO] [stdout] --> s3db/src/execution/naive.rs:1993:13 [INFO] [stdout] | [INFO] [stdout] 1993 | 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] 1993 | let _ = storage.commit_transaction(trans).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | 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] --> s3db/src/ra.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | inner, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> s3db/src/ra.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregation_condition` [INFO] [stdout] --> s3db/src/ra.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | aggregation_condition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `aggregation_condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> s3db/src/ra.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | 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] --> s3db/src/ra.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | 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] --> s3db/src/ra.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | 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] --> s3db/src/ra.rs:685:39 [INFO] [stdout] | [INFO] [stdout] 685 | .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: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> s3db/src/storage/data.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | 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] --> s3db/src/storage/data.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | 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] --> s3db/src/storage/data.rs:204:53 [INFO] [stdout] | [INFO] [stdout] 204 | 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] --> s3db/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: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `select` [INFO] [stdout] --> s3db/tests/ra.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 589 | 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] --> s3db/tests/ra.rs:645:10 [INFO] [stdout] | [INFO] [stdout] 645 | 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] --> s3db/tests/ra.rs:873:10 [INFO] [stdout] | [INFO] [stdout] 873 | 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] --> s3db/tests/ra.rs:873:18 [INFO] [stdout] | [INFO] [stdout] 873 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared` [INFO] [stdout] --> s3db/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] --> s3db/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 11.98s [INFO] running `Command { std: "docker" "inspect" "97f8ac234a8a494ac9ffe93c4a588d6a1602c985b3b4d2c8534441de979b28b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f8ac234a8a494ac9ffe93c4a588d6a1602c985b3b4d2c8534441de979b28b8", kill_on_drop: false }` [INFO] [stdout] 97f8ac234a8a494ac9ffe93c4a588d6a1602c985b3b4d2c8534441de979b28b8