[INFO] cloning repository https://github.com/ie-Yoshisaur/OxideDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ie-Yoshisaur/OxideDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fie-Yoshisaur%2FOxideDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fie-Yoshisaur%2FOxideDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3739da2eb44024016c531e496fe446120481c604 [INFO] building ie-Yoshisaur/OxideDB against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fie-Yoshisaur%2FOxideDB" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ie-Yoshisaur/OxideDB on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ie-Yoshisaur/OxideDB [INFO] finished tweaking git repo https://github.com/ie-Yoshisaur/OxideDB [INFO] tweaked toml for git repo https://github.com/ie-Yoshisaur/OxideDB written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ie-Yoshisaur/OxideDB 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e14dbd48d7120ca059121c5a813be6dface34913b52db1b9d52e95a4a06524fb [INFO] running `Command { std: "docker" "start" "-a" "e14dbd48d7120ca059121c5a813be6dface34913b52db1b9d52e95a4a06524fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e14dbd48d7120ca059121c5a813be6dface34913b52db1b9d52e95a4a06524fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14dbd48d7120ca059121c5a813be6dface34913b52db1b9d52e95a4a06524fb", kill_on_drop: false }` [INFO] [stdout] e14dbd48d7120ca059121c5a813be6dface34913b52db1b9d52e95a4a06524fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0bf346bfcf34c39dec9abe83bc817410407f89326953c151afda1585d3d656e [INFO] running `Command { std: "docker" "start" "-a" "f0bf346bfcf34c39dec9abe83bc817410407f89326953c151afda1585d3d656e", kill_on_drop: false }` [INFO] [stderr] Compiling oxide_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_join_scan.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_join_scan.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_join_scan.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_join_scan.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_join_scan.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_join_scan.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/index/query/index_join_scan.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_select_scan.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_select_scan.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_select_scan.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_select_scan.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/index/query/index_select_scan.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/index/query/index_select_scan.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/index/query/index_select_scan.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log/log_iterator.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut page = Page::new_from_blocksize(file_manager.lock().unwrap().get_block_size()); [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: `field_name` [INFO] [stdout] --> src/materialize/group_by_scan.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/group_by_scan.rs:135:47 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/group_by_scan.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/group_by_scan.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/group_by_scan.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/group_by_scan.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/materialize/group_by_scan.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/materialize/merge_join_scan.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/sort_scan.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/sort_scan.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/sort_scan.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/sort_scan.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/materialize/sort_scan.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/materialize/sort_scan.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/materialize/sort_scan.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/multibuffer/chunk_scan.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | fn set_value(&mut self, field_name: &str, value: Constant) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | fn set_int(&mut self, field_name: &str, value: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_string(&mut self, field_name: &str, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/multibuffer/multi_buffer_product_scan.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plan/basic_update_planner.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut p: Arc> = Arc::new(Mutex::new(TablePlan::new( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fldname` [INFO] [stdout] --> src/query/project_scan.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | fn set_value(&mut self, fldname: &str, val: Constant) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fldname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/query/project_scan.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | fn set_value(&mut self, fldname: &str, val: Constant) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fldname` [INFO] [stdout] --> src/query/project_scan.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | fn set_int(&mut self, fldname: &str, val: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fldname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/query/project_scan.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | fn set_int(&mut self, fldname: &str, val: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fldname` [INFO] [stdout] --> src/query/project_scan.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | fn set_string(&mut self, fldname: &str, val: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fldname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/query/project_scan.rs:105:45 [INFO] [stdout] | [INFO] [stdout] 105 | fn set_string(&mut self, fldname: &str, val: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_id` [INFO] [stdout] --> src/query/project_scan.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn move_to_record_id(&mut self, record_id: RecordId) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/opt/heuristic_query_planner.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut current_plan = self.get_lowest_select_plan(); [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | `current_plan` calls a custom destructor [INFO] [stdout] | `current_plan` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | match self.get_lowest_join_plan(current_plan.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `current_plan` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/transaction/buffer_list.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 48 | let locked_buffer_manager = self.buffer_manager.lock().unwrap(); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | `locked_buffer_manager` calls a custom destructor [INFO] [stdout] | `locked_buffer_manager` will be dropped later as of Edition 2024 [INFO] [stdout] 49 | match locked_buffer_manager.pin(block.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] note: `locked_buffer_manager` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/mutex.rs:644:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `equals` and `hash_code` are never used [INFO] [stdout] --> src/file/block_id.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BlockId { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn equals(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn hash_code(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `search_cost` are never used [INFO] [stdout] --> src/index/hash/hash_index.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HashIndex { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(tx: Arc>, idxname: String, layout: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn search_cost(numblocks: usize, _rpb: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `delete` are never used [INFO] [stdout] --> src/index/index.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Index { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn insert(&mut self, data_val: Constant, data_rid: RecordId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn delete(&mut self, data_val: Constant, data_rid: RecordId); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/index/planner/index_join_plan.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl IndexJoinPlan { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/index/planner/index_select_plan.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl IndexSelectPlan { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(p: Arc>, ii: Arc>, val: Constant) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexUpdatePlanner` is never constructed [INFO] [stdout] --> src/index/planner/index_update_planner.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IndexUpdatePlanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `execute_insert`, and `execute_delete` are never used [INFO] [stdout] --> src/index/planner/index_update_planner.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl IndexUpdatePlanner { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(mdm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn execute_insert(&self, data: InsertData, tx: Arc>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn execute_delete(&self, data: DeleteData, tx: Arc>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/interface/connection_adapter.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ConnectionAdapter { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 8 | fn create_statement(&self) -> Result>; [INFO] [stdout] 9 | fn close(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/interface/embedded/embedded_result_set.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl EmbeddedResultSet { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/interface/embedded/embedded_statement.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EmbeddedStatement { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn close(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/count_function.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CountFunction { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(fldname: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupByPlan` is never constructed [INFO] [stdout] --> src/materialize/group_by_plan.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GroupByPlan { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/group_by_plan.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl GroupByPlan { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/group_by_scan.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl GroupByScan { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/max_function.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MaxFunction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(fldname: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/materialize/merge_join_plan.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MergeJoinPlan { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | tx: Arc>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/merge_join_plan.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MergeJoinPlan { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/record_comparator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RecordComparator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materialize/sort_plan.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SortPlan { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_schema` is never read [INFO] [stdout] --> src/metadata/index_information.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IndexInformation { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | table_schema: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexInformation` 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 functions `new` and `create_index_layout` are never used [INFO] [stdout] --> src/metadata/index_information.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl IndexInformation { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn create_index_layout(table_schema: Arc>, field_name: &str) -> Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_manager` and `statistics_manager` are never read [INFO] [stdout] --> src/metadata/index_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct IndexManager { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | layout: Arc, [INFO] [stdout] 18 | table_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | statistics_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_index_info` is never used [INFO] [stdout] --> src/metadata/index_manager.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl IndexManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_index_info( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_index_information` is never used [INFO] [stdout] --> src/metadata/metadata_manager.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl MetadataManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_index_information( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `best_root` is never used [INFO] [stdout] --> src/multibuffer/buffer_needs.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl BufferNeeds { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 4 | pub fn best_root(available: i32, size: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/multibuffer/multi_buffer_product_plan.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MultibufferProductPlan { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeuristicQueryPlanner` is never constructed [INFO] [stdout] --> src/opt/heuristic_query_planner.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HeuristicQueryPlanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_plan`, `get_lowest_select_plan`, `get_lowest_join_plan`, `get_lowest_product_plan`, and `set_planner` are never used [INFO] [stdout] --> src/opt/heuristic_query_planner.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HeuristicQueryPlanner { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(mdm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn create_plan( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn get_lowest_select_plan(&mut self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_lowest_join_plan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get_lowest_product_plan(&mut self, current: Arc>) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_planner(&self, _p: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TablePlanner` is never constructed [INFO] [stdout] --> src/opt/table_planner.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TablePlanner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/opt/table_planner.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TablePlanner { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn make_select_plan(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn make_join_plan(&self, current: Arc>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn make_product_plan(&self, current: Arc>) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn make_index_select(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn make_index_join( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn make_product_join( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn add_select_pred(&self, p: Arc>) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn add_join_pred( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_int_constant` is never used [INFO] [stdout] --> src/parse/lexer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn match_int_constant(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PredParser` is never constructed [INFO] [stdout] --> src/parse/pred_parser.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PredParser<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `field`, `constant`, `expression`, `term`, and `predicate` are never used [INFO] [stdout] --> src/parse/pred_parser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> PredParser<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(s: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn field(&mut self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn constant(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn expression(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn term(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn predicate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plan/better_query_planner.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BetterQueryPlanner { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(mdm: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plan/optimized_product_plan.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl OptimizedProductPlan { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(p1: Arc>, p2: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compare` is never used [INFO] [stdout] --> src/query/constant.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn compare(&self, other: &Constant) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applies_to` is never used [INFO] [stdout] --> src/query/expression.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn applies_to(&self, sch: Arc>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_sub_pred` and `join_sub_pred` are never used [INFO] [stdout] --> src/query/predicate.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Predicate { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn select_sub_pred(&self, sch: Arc>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn join_sub_pred( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applies_to` is never used [INFO] [stdout] --> src/query/term.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Term { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn applies_to(&self, sch: Arc>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_size` and `metadata_manager` are never read [INFO] [stdout] --> src/server/oxide_db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OxideDB { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | metadata_manager: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_manager`, `get_log_manager`, `get_buffer_manager`, `get_lock_table`, and `get_metadata_manager` are never used [INFO] [stdout] --> src/server/oxide_db.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl OxideDB { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_file_manager(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_log_manager(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_buffer_manager(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_lock_table(&self) -> &Arc<(Mutex, Condvar)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_metadata_manager(&mut self) -> &mut Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LockAbortError` is never constructed [INFO] [stdout] --> src/transaction/concurrency/err.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConcurrencyError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 7 | LockAbortError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcurrencyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/transaction/concurrency/err.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum LockAbortError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 27 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_manager` is never read [INFO] [stdout] --> src/transaction/transaction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | log_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/buffer/buffer_manager.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | locked_buffer.assign_to_block(block.clone()); [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] 141 | let _ = locked_buffer.assign_to_block(block.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transaction/recovery/record/set_int_record.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | transaction.set_int(self.block.clone(), self.offset, self.value, false); // don't log the undo! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = transaction.set_int(self.block.clone(), self.offset, self.value, false); // don't log the undo! [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/transaction/recovery/record/set_string_record.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | transaction.set_string(self.block.clone(), self.offset, &self.value, false); // don't log the undo! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = transaction.set_string(self.block.clone(), self.offset, &self.value, false); // don't log the undo! [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide_db` (bin "oxide_db") due to 2 previous errors; 105 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0bf346bfcf34c39dec9abe83bc817410407f89326953c151afda1585d3d656e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0bf346bfcf34c39dec9abe83bc817410407f89326953c151afda1585d3d656e", kill_on_drop: false }` [INFO] [stdout] f0bf346bfcf34c39dec9abe83bc817410407f89326953c151afda1585d3d656e