[INFO] cloning repository https://github.com/irving-peng/NU-CS339-Lab3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/irving-peng/NU-CS339-Lab3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firving-peng%2FNU-CS339-Lab3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firving-peng%2FNU-CS339-Lab3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa9fa9596c76202d580da52a22bc94c69eb97081 [INFO] checking irving-peng/NU-CS339-Lab3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firving-peng%2FNU-CS339-Lab3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/irving-peng/NU-CS339-Lab3 [INFO] finished tweaking git repo https://github.com/irving-peng/NU-CS339-Lab3 [INFO] tweaked toml for git repo https://github.com/irving-peng/NU-CS339-Lab3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/irving-peng/NU-CS339-Lab3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/irving-peng/NU-CS339-Lab3 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80bda04f0610545e08588b2457e90626c1f916bf59bb4e2aebbb0056d6ca32c6 [INFO] running `Command { std: "docker" "start" "-a" "80bda04f0610545e08588b2457e90626c1f916bf59bb4e2aebbb0056d6ca32c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80bda04f0610545e08588b2457e90626c1f916bf59bb4e2aebbb0056d6ca32c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bda04f0610545e08588b2457e90626c1f916bf59bb4e2aebbb0056d6ca32c6", kill_on_drop: false }` [INFO] [stdout] 80bda04f0610545e08588b2457e90626c1f916bf59bb4e2aebbb0056d6ca32c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8df96eea45e7de4ce4db0e1ce03c09df680dbc5a09cf6c547799e0edb7b90f32 [INFO] running `Command { std: "docker" "start" "-a" "8df96eea45e7de4ce4db0e1ce03c09df680dbc5a09cf6c547799e0edb7b90f32", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking rand v0.8.5 [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 toml_edit v0.22.21 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml v0.8.19 [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 config v0.14.1 [INFO] [stderr] Checking rustydb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/execution/execute.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let schema = catalog [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_rid` [INFO] [stdout] --> src/sql/execution/join.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | let (left_rid, left_row) = left_result.clone()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_rid` [INFO] [stdout] --> src/sql/execution/join.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let (right_rid, right_row) = right_result?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_rid` [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: `tuple` [INFO] [stdout] --> src/sql/execution/write.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let tuple = row.to_tuple(&table)?; // Convert row to tuple based on schema [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql/execution/write.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | mut source: Rows, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/sql/execution/execute.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let schema = catalog [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_rid` [INFO] [stdout] --> src/sql/execution/join.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | let (left_rid, left_row) = left_result.clone()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_rid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_rid` [INFO] [stdout] --> src/sql/execution/join.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let (right_rid, right_row) = right_result?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_rid` [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: `tuple` [INFO] [stdout] --> src/sql/execution/write.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let tuple = row.to_tuple(&table)?; // Convert row to tuple based on schema [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql/execution/write.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | mut source: Rows, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `right_size` and `outer` are never read [INFO] [stdout] --> src/sql/execution/join.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct NestedLoopIterator { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | right_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | outer: bool, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `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: 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:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | 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:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn parse_script(script: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sql/execution/write.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let table_name = table.name().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sql/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/sql/planner/node.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | table.name().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/heap/heap.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/tuple/row.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter(&self) -> Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustydb` (lib) due to 1 previous error; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `right_size` and `outer` are never read [INFO] [stdout] --> src/sql/execution/join.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct NestedLoopIterator { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | right_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | outer: bool, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `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 `random_bool` is never used [INFO] [stdout] --> src/storage/buffer/lru_k_replacer/tests.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn random_bool() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_access_frame_n_times` is never used [INFO] [stdout] --> src/storage/buffer/lru_k_replacer/tests.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn record_access_frame_n_times(replacer: &mut LRUKReplacer, frame_id: FrameId, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sql/execution/write.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let table_name = table.name().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sql/parser/parser.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statement: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/sql/planner/node.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | table.name().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/heap/heap.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter(&self) -> TableHeapIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/tuple/row.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn iter(&self) -> Iter<'_, Field> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustydb` (lib test) due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8df96eea45e7de4ce4db0e1ce03c09df680dbc5a09cf6c547799e0edb7b90f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df96eea45e7de4ce4db0e1ce03c09df680dbc5a09cf6c547799e0edb7b90f32", kill_on_drop: false }` [INFO] [stdout] 8df96eea45e7de4ce4db0e1ce03c09df680dbc5a09cf6c547799e0edb7b90f32