[INFO] cloning repository https://github.com/anish-sinha1/symmetric-concurrent-btree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anish-sinha1/symmetric-concurrent-btree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-sinha1%2Fsymmetric-concurrent-btree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-sinha1%2Fsymmetric-concurrent-btree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e46f0250eadc847ac60e8c9f1033956e14d74f55 [INFO] checking anish-sinha1/symmetric-concurrent-btree against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-sinha1%2Fsymmetric-concurrent-btree" "/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/anish-sinha1/symmetric-concurrent-btree on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anish-sinha1/symmetric-concurrent-btree [INFO] finished tweaking git repo https://github.com/anish-sinha1/symmetric-concurrent-btree [INFO] tweaked toml for git repo https://github.com/anish-sinha1/symmetric-concurrent-btree written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anish-sinha1/symmetric-concurrent-btree already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v2.0.1 [INFO] [stderr] Downloaded serde_bytes v0.11.7 [INFO] [stderr] Downloaded iana-time-zone v0.1.48 [INFO] [stderr] Downloaded serde_with v2.0.1 [INFO] [stderr] Downloaded time v0.3.14 [INFO] [stderr] Downloaded itertools v0.10.4 [INFO] [stderr] Downloaded positioned-io v0.3.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba1d9a41045dfad57f2f5167e0006447f8b1ac5e97da517d2f38870421b7f5a4 [INFO] running `Command { std: "docker" "start" "-a" "ba1d9a41045dfad57f2f5167e0006447f8b1ac5e97da517d2f38870421b7f5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba1d9a41045dfad57f2f5167e0006447f8b1ac5e97da517d2f38870421b7f5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1d9a41045dfad57f2f5167e0006447f8b1ac5e97da517d2f38870421b7f5a4", kill_on_drop: false }` [INFO] [stdout] ba1d9a41045dfad57f2f5167e0006447f8b1ac5e97da517d2f38870421b7f5a4 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5555ef259004096d485963c50726a4a3382515865ffc1d92b12c5ce2c470c1 [INFO] running `Command { std: "docker" "start" "-a" "6f5555ef259004096d485963c50726a4a3382515865ffc1d92b12c5ce2c470c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking positioned-io v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling serde_with_macros v2.0.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_with v2.0.1 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking lanin-shasha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/traits/encode.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{Block, INDEX_PATH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ioutil::fs` [INFO] [stdout] --> src/traits/encode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ioutil::fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/access/node.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/access/ops.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::common::{INDEX_PATH, Block}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/traits/encode.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{Block, INDEX_PATH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ioutil::fs` [INFO] [stdout] --> src/traits/encode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ioutil::fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/access/node.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/access/ops.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::common::{INDEX_PATH, Block}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/access/ops.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(table) = GLOBAL_PAGE_TABLE.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/access/ops.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(table) = GLOBAL_PAGE_TABLE.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/access/ops.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_ptr` [INFO] [stdout] --> src/access/ops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let fast_ptr = anchor.fast; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fast_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let ubleftsep = f64::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descent` [INFO] [stdout] --> src/access/ops.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let descent: Vec = vec![]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/access/ops.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for i in (1..enter_height).rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_lock` [INFO] [stdout] --> src/access/ops.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/access/ops.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_ptr` [INFO] [stdout] --> src/access/ops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let fast_ptr = anchor.fast; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fast_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let ubleftsep = f64::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descent` [INFO] [stdout] --> src/access/ops.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let descent: Vec = vec![]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/access/ops.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for i in (1..enter_height).rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_lock` [INFO] [stdout] --> src/access/ops.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/ioutil/fs.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/ioutil/fs.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/traits/encode.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Encode { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn encode(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `from_block` are never used [INFO] [stdout] --> src/access/node.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 25 | pub fn read(page_no: usize) -> Block { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_block(buf: Block) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anchor` is never used [INFO] [stdout] --> src/access/ops.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_anchor() -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/traits/encode.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Encode { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn encode(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node` is never used [INFO] [stdout] --> src/access/ops.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_node(ptr: ObjectPtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `from_block` are never used [INFO] [stdout] --> src/access/node.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 25 | pub fn read(page_no: usize) -> Block { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_block(buf: Block) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_right` is never used [INFO] [stdout] --> src/access/ops.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locate_leaf` is never used [INFO] [stdout] --> src/access/ops.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anchor` is never used [INFO] [stdout] --> src/access/ops.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_anchor() -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/access/ops.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn normalize() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node` is never used [INFO] [stdout] --> src/access/ops.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_node(ptr: ObjectPtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/access/ops.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn insert() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/access/ops.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_right` is never used [INFO] [stdout] --> src/access/ops.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locate_leaf` is never used [INFO] [stdout] --> src/access/ops.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/access/ops.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn normalize() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/access/ops.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn search() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes` is never used [INFO] [stdout] --> src/ioutil/fs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_bytes(abs_path: &str, bytes: [u8; 512], offset: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/access/ops.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn insert() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/access/ops.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/ioutil/fs.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn truncate(abs_path: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/access/ops.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn search() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_held` is never read [INFO] [stdout] --> src/storage/bufmgr.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BufferPoolFrame { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub block_held: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferPoolFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes` is never used [INFO] [stdout] --> src/ioutil/fs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_bytes(abs_path: &str, bytes: [u8; 512], offset: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BufferPoolFrame { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(page_no: usize, block: Block) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/ioutil/fs.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn truncate(abs_path: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fetch_frame(page_no: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_held` is never read [INFO] [stdout] --> src/storage/bufmgr.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BufferPoolFrame { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub block_held: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferPoolFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FrameResult` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type FrameResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_frame(block_no: usize, block: Block) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn drop_frame(block_no: usize) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BufferPoolFrame { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(page_no: usize, block: Block) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fetch_frame(page_no: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FrameResult` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type FrameResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_frame(block_no: usize, block: Block) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn drop_frame(block_no: usize) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.21s [INFO] running `Command { std: "docker" "inspect" "6f5555ef259004096d485963c50726a4a3382515865ffc1d92b12c5ce2c470c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5555ef259004096d485963c50726a4a3382515865ffc1d92b12c5ce2c470c1", kill_on_drop: false }` [INFO] [stdout] 6f5555ef259004096d485963c50726a4a3382515865ffc1d92b12c5ce2c470c1 [INFO] checking anish-sinha1/symmetric-concurrent-btree against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-sinha1%2Fsymmetric-concurrent-btree" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anish-sinha1/symmetric-concurrent-btree on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anish-sinha1/symmetric-concurrent-btree [INFO] finished tweaking git repo https://github.com/anish-sinha1/symmetric-concurrent-btree [INFO] tweaked toml for git repo https://github.com/anish-sinha1/symmetric-concurrent-btree written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anish-sinha1/symmetric-concurrent-btree already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77b277c21bf94d1b0757b4cae4dc10e4fd675fe0a9949d6a28788241b90dcb89 [INFO] running `Command { std: "docker" "start" "-a" "77b277c21bf94d1b0757b4cae4dc10e4fd675fe0a9949d6a28788241b90dcb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77b277c21bf94d1b0757b4cae4dc10e4fd675fe0a9949d6a28788241b90dcb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b277c21bf94d1b0757b4cae4dc10e4fd675fe0a9949d6a28788241b90dcb89", kill_on_drop: false }` [INFO] [stdout] 77b277c21bf94d1b0757b4cae4dc10e4fd675fe0a9949d6a28788241b90dcb89 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b03e59db09310f652c7d9ae17f82272e619f7f32993f2356c2e3af872e55601 [INFO] running `Command { std: "docker" "start" "-a" "8b03e59db09310f652c7d9ae17f82272e619f7f32993f2356c2e3af872e55601", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking positioned-io v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling serde_with_macros v2.0.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_with v2.0.1 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking lanin-shasha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/traits/encode.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{Block, INDEX_PATH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ioutil::fs` [INFO] [stdout] --> src/traits/encode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ioutil::fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/access/node.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/access/ops.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::common::{INDEX_PATH, Block}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/traits/encode.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::{Block, INDEX_PATH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ioutil::fs` [INFO] [stdout] --> src/traits/encode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ioutil::fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/access/node.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `INDEX_PATH` [INFO] [stdout] --> src/access/ops.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::common::{INDEX_PATH, Block}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/access/ops.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(table) = GLOBAL_PAGE_TABLE.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/access/ops.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_ptr` [INFO] [stdout] --> src/access/ops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let fast_ptr = anchor.fast; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fast_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let ubleftsep = f64::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descent` [INFO] [stdout] --> src/access/ops.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let descent: Vec = vec![]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/access/ops.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for i in (1..enter_height).rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_lock` [INFO] [stdout] --> src/access/ops.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/ioutil/fs.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/traits/encode.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Encode { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn encode(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `from_block` are never used [INFO] [stdout] --> src/access/node.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 25 | pub fn read(page_no: usize) -> Block { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_block(buf: Block) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anchor` is never used [INFO] [stdout] --> src/access/ops.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_anchor() -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node` is never used [INFO] [stdout] --> src/access/ops.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_node(ptr: ObjectPtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_right` is never used [INFO] [stdout] --> src/access/ops.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locate_leaf` is never used [INFO] [stdout] --> src/access/ops.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/access/ops.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn normalize() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/access/ops.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn insert() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/access/ops.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/access/ops.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn search() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes` is never used [INFO] [stdout] --> src/ioutil/fs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_bytes(abs_path: &str, bytes: [u8; 512], offset: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/ioutil/fs.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn truncate(abs_path: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_held` is never read [INFO] [stdout] --> src/storage/bufmgr.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BufferPoolFrame { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub block_held: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferPoolFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BufferPoolFrame { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(page_no: usize, block: Block) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fetch_frame(page_no: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FrameResult` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type FrameResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_frame(block_no: usize, block: Block) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn drop_frame(block_no: usize) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/access/ops.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(table) = GLOBAL_PAGE_TABLE.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/access/ops.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fast_ptr` [INFO] [stdout] --> src/access/ops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let fast_ptr = anchor.fast; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fast_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ubleftsep` [INFO] [stdout] --> src/access/ops.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let ubleftsep = f64::NEG_INFINITY; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ubleftsep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descent` [INFO] [stdout] --> src/access/ops.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let descent: Vec = vec![]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/access/ops.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for i in (1..enter_height).rev() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/access/ops.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_lock` [INFO] [stdout] --> src/access/ops.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/ioutil/fs.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let file = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/traits/encode.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Encode { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 8 | fn encode(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `from_block` are never used [INFO] [stdout] --> src/access/node.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 25 | pub fn read(page_no: usize) -> Block { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_block(buf: Block) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anchor` is never used [INFO] [stdout] --> src/access/ops.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_anchor() -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node` is never used [INFO] [stdout] --> src/access/ops.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_node(ptr: ObjectPtr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_right` is never used [INFO] [stdout] --> src/access/ops.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn move_right(val: usize, ptr: ObjectPtr, ubleftsep: f64, lock_type: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `locate_leaf` is never used [INFO] [stdout] --> src/access/ops.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn locate_leaf(val: usize, last_lock: LwLockType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/access/ops.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn normalize() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/access/ops.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn insert() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/access/ops.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/access/ops.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn search() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes` is never used [INFO] [stdout] --> src/ioutil/fs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_bytes(abs_path: &str, bytes: [u8; 512], offset: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/ioutil/fs.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn truncate(abs_path: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_held` is never read [INFO] [stdout] --> src/storage/bufmgr.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BufferPoolFrame { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub block_held: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferPoolFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BufferPoolFrame { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(page_no: usize, block: Block) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fetch_frame(page_no: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FrameResult` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub type FrameResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_frame(block_no: usize, block: Block) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_frame` is never used [INFO] [stdout] --> src/storage/bufmgr.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn drop_frame(block_no: usize) -> FrameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.01s [INFO] running `Command { std: "docker" "inspect" "8b03e59db09310f652c7d9ae17f82272e619f7f32993f2356c2e3af872e55601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b03e59db09310f652c7d9ae17f82272e619f7f32993f2356c2e3af872e55601", kill_on_drop: false }` [INFO] [stdout] 8b03e59db09310f652c7d9ae17f82272e619f7f32993f2356c2e3af872e55601