[INFO] cloning repository https://github.com/johnsonjsyuen/diy_db_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnsonjsyuen/diy_db_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsonjsyuen%2Fdiy_db_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsonjsyuen%2Fdiy_db_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5346883d5adff3f16a0a4b7e92a047f9e318335a [INFO] checking johnsonjsyuen/diy_db_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsonjsyuen%2Fdiy_db_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnsonjsyuen/diy_db_rust 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/johnsonjsyuen/diy_db_rust [INFO] finished tweaking git repo https://github.com/johnsonjsyuen/diy_db_rust [INFO] tweaked toml for git repo https://github.com/johnsonjsyuen/diy_db_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/johnsonjsyuen/diy_db_rust 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 memmap2 v0.9.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 98018c4d763b0cb5bf9dd98f1b5a6ce9a4e2edc89c834ff2cb41ddaa3416c161 [INFO] running `Command { std: "docker" "start" "-a" "98018c4d763b0cb5bf9dd98f1b5a6ce9a4e2edc89c834ff2cb41ddaa3416c161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98018c4d763b0cb5bf9dd98f1b5a6ce9a4e2edc89c834ff2cb41ddaa3416c161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98018c4d763b0cb5bf9dd98f1b5a6ce9a4e2edc89c834ff2cb41ddaa3416c161", kill_on_drop: false }` [INFO] [stdout] 98018c4d763b0cb5bf9dd98f1b5a6ce9a4e2edc89c834ff2cb41ddaa3416c161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 968f16372c348926782aedd0ce82ab54d63500640662e6fbca0405242b382c78 [INFO] running `Command { std: "docker" "start" "-a" "968f16372c348926782aedd0ce82ab54d63500640662e6fbca0405242b382c78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Checking memmap2 v0.9.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling zerocopy-derive v0.7.32 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking diy-db-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `BNODE_NODE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | BNODE_NODE = 1, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BnodeNode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BNODE_LEAF` should have an upper camel case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BNODE_LEAF = 2, // leaf nodes with values [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BnodeLeaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BNODE_NODE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | BNODE_NODE = 1, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BnodeNode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BNODE_LEAF` should have an upper camel case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BNODE_LEAF = 2, // leaf nodes with values [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BnodeLeaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodeID` [INFO] [stdout] --> src/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodeID` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(node: BNode) -> u64 { // allocate a new page [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodeID` [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodeID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const HEADER: usize = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_PAGE_SIZE` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BTREE_PAGE_SIZE: u16 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_MAX_KEY_SIZE` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BTREE_MAX_KEY_SIZE: u16 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_MAX_VAL_SIZE` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BTREE_MAX_VAL_SIZE: u16 = 3000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeType` is never used [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum NodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BNode` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct BNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl BNode { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 26 | fn btype(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn nkeys(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn setHeader(&mut self, btype: u16, nkeys: u16) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn getPtr(&self, idx: u16) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn setPtr(&mut self, idx: u16, val: u64) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn offsetPos(node: &BNode, idx: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn getOffset(&self, idx: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn setOffset(&mut self, idx: u16, offset: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTree` is never constructed [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct BTree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get`, `new`, and `del` are never used [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl BTree { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn new(node: BNode) -> u64 { // allocate a new page [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn setHeader(&mut self, btype: u16, nkeys: u16) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn getPtr(&self, idx: u16) -> u64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn setPtr(&mut self, idx: u16, val: u64) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offsetPos` should have a snake case name [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn offsetPos(node: &BNode, idx: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `offset_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn getOffset(&self, idx: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn setOffset(&mut self, idx: u16, offset: u16) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeID` should have a snake case name [INFO] [stdout] --> src/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeID` should have a snake case name [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodeID` [INFO] [stdout] --> src/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodeID` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(node: BNode) -> u64 { // allocate a new page [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodeID` [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodeID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const HEADER: usize = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_PAGE_SIZE` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BTREE_PAGE_SIZE: u16 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_MAX_KEY_SIZE` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BTREE_MAX_KEY_SIZE: u16 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTREE_MAX_VAL_SIZE` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BTREE_MAX_VAL_SIZE: u16 = 3000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeType` is never used [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum NodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BNode` is never constructed [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct BNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl BNode { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 26 | fn btype(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn nkeys(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn setHeader(&mut self, btype: u16, nkeys: u16) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn getPtr(&self, idx: u16) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn setPtr(&mut self, idx: u16, val: u64) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn offsetPos(node: &BNode, idx: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn getOffset(&self, idx: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn setOffset(&mut self, idx: u16, offset: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BTree` is never constructed [INFO] [stdout] --> src/main.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct BTree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get`, `new`, and `del` are never used [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl BTree { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn new(node: BNode) -> u64 { // allocate a new page [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn setHeader(&mut self, btype: u16, nkeys: u16) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn getPtr(&self, idx: u16) -> u64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn setPtr(&mut self, idx: u16, val: u64) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offsetPos` should have a snake case name [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn offsetPos(node: &BNode, idx: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `offset_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn getOffset(&self, idx: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn setOffset(&mut self, idx: u16, offset: u16) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeID` should have a snake case name [INFO] [stdout] --> src/main.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn get(nodeID: u64) -> BNode { // dereference a pointer [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeID` should have a snake case name [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn del(nodeID: u64) -> Result<(), anyhow::Error> { // deallocate a page [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.77s [INFO] running `Command { std: "docker" "inspect" "968f16372c348926782aedd0ce82ab54d63500640662e6fbca0405242b382c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968f16372c348926782aedd0ce82ab54d63500640662e6fbca0405242b382c78", kill_on_drop: false }` [INFO] [stdout] 968f16372c348926782aedd0ce82ab54d63500640662e6fbca0405242b382c78