[INFO] cloning repository https://github.com/jeremy9k27/cs339-rustdb-4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremy9k27/cs339-rustdb-4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremy9k27%2Fcs339-rustdb-4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremy9k27%2Fcs339-rustdb-4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a93a33e2839f30a657e1cb5933b24c00dc38650b [INFO] checking jeremy9k27/cs339-rustdb-4 against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremy9k27%2Fcs339-rustdb-4" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeremy9k27/cs339-rustdb-4 on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeremy9k27/cs339-rustdb-4 [INFO] finished tweaking git repo https://github.com/jeremy9k27/cs339-rustdb-4 [INFO] tweaked toml for git repo https://github.com/jeremy9k27/cs339-rustdb-4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jeremy9k27/cs339-rustdb-4 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d42463e0d3ef02069ff615ce37f6270a9ceb467d14d2344bff248ba6ec1597fa [INFO] running `Command { std: "docker" "start" "-a" "d42463e0d3ef02069ff615ce37f6270a9ceb467d14d2344bff248ba6ec1597fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d42463e0d3ef02069ff615ce37f6270a9ceb467d14d2344bff248ba6ec1597fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42463e0d3ef02069ff615ce37f6270a9ceb467d14d2344bff248ba6ec1597fa", kill_on_drop: false }` [INFO] [stdout] d42463e0d3ef02069ff615ce37f6270a9ceb467d14d2344bff248ba6ec1597fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26212cd84353f2d5d617b04b43bad92cdd6c1ff7965c799bad48ee9d2936071b [INFO] running `Command { std: "docker" "start" "-a" "26212cd84353f2d5d617b04b43bad92cdd6c1ff7965c799bad48ee9d2936071b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.21 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking rustydb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/sql/execution/execute.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(match plan { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] ... | [INFO] [stdout] 77 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/sql/execution/execute.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(match plan { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] ... | [INFO] [stdout] 77 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/sql/execution/aggregate.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let bucket: Vec = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate` [INFO] [stdout] --> src/sql/execution/aggregate.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | fn new(aggregate: &Aggregate) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sql/execution/aggregate.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | fn add(&mut self, value: Field) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/execution/execute.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Plan::CreateTable { schema } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `schema: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | Plan::Delete { table, source } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | Plan::Delete { table, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | Plan::DropTable { table, if_exists } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_exists` [INFO] [stdout] --> src/sql/execution/execute.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | Plan::DropTable { table, if_exists } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `if_exists: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Plan::Insert { table, source } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | Plan::Insert { table, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/sql/execution/execute.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Plan::Select(root) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | table, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/execute.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | expressions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `expressions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `catalog` [INFO] [stdout] --> src/sql/execution/execute.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | catalog: &impl Catalog, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_catalog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/execute.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | txn: &impl Transaction, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Filter { source, predicate } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/sql/execution/execute.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Filter { source, predicate } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `predicate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | Node::Limit { source, limit } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/sql/execution/execute.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | Node::Limit { source, limit } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/execute.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | expressions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `expressions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | table, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/sql/execution/execute.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | filter, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `filter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/source.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/source.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/sql/execution/source.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/sql/execution/transform.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/sql/execution/transform.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/transform.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | txn: &impl Transaction, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | table: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | mut source: Rows, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/write.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | expressions: Vec<(usize, Expression)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql/execution/write.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | mut source: Rows, [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: unused variable: `bucket` [INFO] [stdout] --> src/sql/execution/aggregate.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let bucket: Vec = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate` [INFO] [stdout] --> src/sql/execution/aggregate.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | fn new(aggregate: &Aggregate) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sql/execution/aggregate.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | fn add(&mut self, value: Field) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/execution/execute.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Plan::CreateTable { schema } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `schema: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | Plan::Delete { table, source } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | Plan::Delete { table, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | Plan::DropTable { table, if_exists } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_exists` [INFO] [stdout] --> src/sql/execution/execute.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | Plan::DropTable { table, if_exists } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `if_exists: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Plan::Insert { table, source } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | Plan::Insert { table, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/sql/execution/execute.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Plan::Select(root) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | table, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/execute.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | expressions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `expressions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `catalog` [INFO] [stdout] --> src/sql/execution/execute.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | catalog: &impl Catalog, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_catalog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/execute.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | txn: &impl Transaction, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Filter { source, predicate } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/sql/execution/execute.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Filter { source, predicate } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `predicate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | Node::Limit { source, limit } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/sql/execution/execute.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | Node::Limit { source, limit } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/execute.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/execute.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | expressions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `expressions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/execute.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | table, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/sql/execution/execute.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | filter, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `filter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/source.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/source.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/sql/execution/source.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/sql/execution/transform.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/sql/execution/transform.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/transform.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/transform.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/sql/execution/write.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | txn: &impl Transaction, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/execution/write.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | table: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/sql/execution/write.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | mut source: Rows, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/sql/execution/write.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | expressions: Vec<(usize, Expression)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql/execution/write.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | mut source: Rows, [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: function `aggregate` is never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn aggregate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aggregator` is never constructed [INFO] [stdout] --> src/sql/execution/aggregate.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Aggregator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `into_rows` are never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Aggregator { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 43 | /// Creates a new aggregator for the given GROUP BY buckets and aggregates. [INFO] [stdout] 44 | fn new(group_by: Vec, aggregates: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add(&mut self, row: Row) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn into_rows(self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Accumulator` is never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | enum Accumulator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Accumulator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `value` are never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl Accumulator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 126 | /// Creates a new accumulator from an aggregate kind. [INFO] [stdout] 127 | fn new(aggregate: &Aggregate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add(&mut self, value: Field) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn value(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/sql/execution/execute.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn execute(node: BoxedNode, txn: &impl Transaction) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_loop` is never used [INFO] [stdout] --> src/sql/execution/join.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nested_loop( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedLoopIterator` is never constructed [INFO] [stdout] --> src/sql/execution/join.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct NestedLoopIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NestedLoopIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `try_next` are never used [INFO] [stdout] --> src/sql/execution/join.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl NestedLoopIterator { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn try_next(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/sql/execution/join.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn hash( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan` is never used [INFO] [stdout] --> src/sql/execution/source.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nothing` is never used [INFO] [stdout] --> src/sql/execution/source.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn nothing() -> Rows { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `values` is never used [INFO] [stdout] --> src/sql/execution/source.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(tuples: Vec>) -> Rows { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `limit` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `order` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn order(source: Rows, order: Vec<(Expression, Direction)>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn remap(source: Rows, targets: Vec>) -> Rows { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/sql/execution/write.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/sql/execution/write.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/sql/execution/write.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sql/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/heap/heap.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/tuple/row.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter(&self) -> Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aggregate` is never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn aggregate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aggregator` is never constructed [INFO] [stdout] --> src/sql/execution/aggregate.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Aggregator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `into_rows` are never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Aggregator { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 43 | /// Creates a new aggregator for the given GROUP BY buckets and aggregates. [INFO] [stdout] 44 | fn new(group_by: Vec, aggregates: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add(&mut self, row: Row) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn into_rows(self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Accumulator` is never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | enum Accumulator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Accumulator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `value` are never used [INFO] [stdout] --> src/sql/execution/aggregate.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl Accumulator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 126 | /// Creates a new accumulator from an aggregate kind. [INFO] [stdout] 127 | fn new(aggregate: &Aggregate) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add(&mut self, value: Field) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn value(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/sql/execution/execute.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn execute(node: BoxedNode, txn: &impl Transaction) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_loop` is never used [INFO] [stdout] --> src/sql/execution/join.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nested_loop( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedLoopIterator` is never constructed [INFO] [stdout] --> src/sql/execution/join.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct NestedLoopIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NestedLoopIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `try_next` are never used [INFO] [stdout] --> src/sql/execution/join.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl NestedLoopIterator { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn try_next(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/sql/execution/join.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn hash( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan` is never used [INFO] [stdout] --> src/sql/execution/source.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn scan(txn: &impl Transaction, table: Table, filter: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nothing` is never used [INFO] [stdout] --> src/sql/execution/source.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn nothing() -> Rows { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `values` is never used [INFO] [stdout] --> src/sql/execution/source.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(tuples: Vec>) -> Rows { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn filter(source: Rows, predicate: Expression) -> Rows { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `limit` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn limit(source: Rows, limit: usize) -> Rows { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `order` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn order(source: Rows, order: Vec<(Expression, Direction)>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn project(source: Rows, expressions: Vec) -> Rows { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/sql/execution/transform.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn remap(source: Rows, targets: Vec>) -> Rows { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/sql/execution/write.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn delete(txn: &impl Transaction, table: String, source: Rows) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/sql/execution/write.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn insert(txn: &impl Transaction, table: Table, source: Rows) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/sql/execution/write.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StudentEngine` is never used [INFO] [stdout] --> src/sql/tests/utility.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type StudentEngine = Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqlStudentRunner` is never constructed [INFO] [stdout] --> src/sql/tests/utility.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SqlStudentRunner<'run> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `bind`, `execute`, `select_expect`, and `initialize` are never used [INFO] [stdout] --> src/sql/tests/utility.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> SqlStudentRunner<'a> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) fn new(execution_engine: &'a StudentEngine) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn bind(&mut self, mut f: F) -> &mut Self [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn execute(&mut self, input: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn select_expect(&mut self, input: &str, expected: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn initialize(&mut self, script_name: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_storage_engine` is never used [INFO] [stdout] --> src/sql/tests/utility.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn create_storage_engine() -> HeapTableManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle` is never used [INFO] [stdout] --> src/sql/tests/utility.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn handle(result: StatementResult, expected: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_script` is never used [INFO] [stdout] --> src/sql/tests/utility.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn open_script(script_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_script` is never used [INFO] [stdout] --> src/sql/tests/utility.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn parse_script(script: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sql/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/heap/heap.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage/tuple/row.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn iter(&self) -> Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.68s [INFO] running `Command { std: "docker" "inspect" "26212cd84353f2d5d617b04b43bad92cdd6c1ff7965c799bad48ee9d2936071b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26212cd84353f2d5d617b04b43bad92cdd6c1ff7965c799bad48ee9d2936071b", kill_on_drop: false }` [INFO] [stdout] 26212cd84353f2d5d617b04b43bad92cdd6c1ff7965c799bad48ee9d2936071b