[INFO] cloning repository https://github.com/iFeyz/rust-database [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iFeyz/rust-database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc9ae540eb7a91a5f60d0e403d0d6dae0076f450 [INFO] building iFeyz/rust-database against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iFeyz/rust-database on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iFeyz/rust-database [INFO] finished tweaking git repo https://github.com/iFeyz/rust-database [INFO] tweaked toml for git repo https://github.com/iFeyz/rust-database written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iFeyz/rust-database 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building iFeyz/rust-database against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iFeyz/rust-database on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iFeyz/rust-database [INFO] finished tweaking git repo https://github.com/iFeyz/rust-database [INFO] tweaked toml for git repo https://github.com/iFeyz/rust-database written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iFeyz/rust-database 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building iFeyz/rust-database against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iFeyz/rust-database on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iFeyz/rust-database [INFO] finished tweaking git repo https://github.com/iFeyz/rust-database [INFO] tweaked toml for git repo https://github.com/iFeyz/rust-database written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iFeyz/rust-database 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building iFeyz/rust-database against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiFeyz%2Frust-database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iFeyz/rust-database on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iFeyz/rust-database [INFO] finished tweaking git repo https://github.com/iFeyz/rust-database [INFO] tweaked toml for git repo https://github.com/iFeyz/rust-database written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iFeyz/rust-database 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 181de1a0cdccf3ff0303fa809724c560b2e8219dbb54366495bc65c50bc2a39e [INFO] running `Command { std: "docker" "start" "-a" "181de1a0cdccf3ff0303fa809724c560b2e8219dbb54366495bc65c50bc2a39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181de1a0cdccf3ff0303fa809724c560b2e8219dbb54366495bc65c50bc2a39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181de1a0cdccf3ff0303fa809724c560b2e8219dbb54366495bc65c50bc2a39e", kill_on_drop: false }` [INFO] [stdout] 181de1a0cdccf3ff0303fa809724c560b2e8219dbb54366495bc65c50bc2a39e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79eafdfc18a13ebb421a3ac20b7ebdb35aa7dfb3d94c1739b0d59e91d8dec354 [INFO] running `Command { std: "docker" "start" "-a" "79eafdfc18a13ebb421a3ac20b7ebdb35aa7dfb3d94c1739b0d59e91d8dec354", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling database-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:1868:61 [INFO] [stdout] | [INFO] [stdout] 1868 | let mut rest_values = vec![Value::new_int64(0); (tdef.cols.len() - tdef.pkeys as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1868 - let mut rest_values = vec![Value::new_int64(0); (tdef.cols.len() - tdef.pkeys as usize)]; [INFO] [stdout] 1868 + let mut rest_values = vec![Value::new_int64(0); tdef.cols.len() - tdef.pkeys as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:1900:59 [INFO] [stdout] | [INFO] [stdout] 1900 | fn db_update(&mut self, tdef: &TableDef, rec: Record, mode: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tdef` [INFO] [stdout] --> src/main.rs:2589:18 [INFO] [stdout] | [INFO] [stdout] 2589 | Some(tdef) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tdef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_ERROR` is never used [INFO] [stdout] --> src/main.rs:1569:7 [INFO] [stdout] | [INFO] [stdout] 1569 | const TYPE_ERROR : u16 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:1686:5 [INFO] [stdout] | [INFO] [stdout] 1685 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 1686 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple_kv_example` is never used [INFO] [stdout] --> src/main.rs:2072:4 [INFO] [stdout] | [INFO] [stdout] 2072 | fn run_simple_kv_example() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn setHeader(&mut self, btype : u16, nkeys : u16) { [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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn getPtr(&self, index : 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:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn setPtr(&mut self, index : u16, val : u64) { [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:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn offsetPos(&self, index : 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:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn getOffset(&self, index : 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn setOffset(&mut self, index : u16, offset : u16) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kvPos` should have a snake case name [INFO] [stdout] --> src/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn kvPos(&self, index : u16) -> u16 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `kv_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKey` should have a snake case name [INFO] [stdout] --> src/main.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn getKey(&self, index : u16) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn getVal(&self, index : u16) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeLookupLe` should have a snake case name [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn nodeLookupLe(node : &BNode, key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_lookup_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn leafInsert(new : &mut BNode, old: &BNode, index: u16, key: &[u8], val: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafUpdate` should have a snake case name [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn leafUpdate(new : &mut BNode, old : &BNode, index : u16, key : &[u8], val : &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeAppendRange` should have a snake case name [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_append_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstNew` should have a snake case name [INFO] [stdout] --> src/main.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dst_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcOld` should have a snake case name [INFO] [stdout] --> src/main.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `src_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstBegin` should have a snake case name [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let dstBegin = new.getOffset(dstNew); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dst_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcBegin` should have a snake case name [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let srcBegin = old.getOffset(srcOld); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `src_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstPos` should have a snake case name [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let dstPos = new.kvPos(dstNew) as usize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dst_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeAppendKv` should have a snake case name [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn nodeAppendKv(new : &mut BNode , index : u16, ptr : u64, key : &[u8], val : &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_append_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let nextOffset = new.getOffset(index) + 4 + key.len() as u16 + val.len() as u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `next_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `treeInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn treeInsert(tree : &mut BTree, node : BNode , key : &[u8], val: &[u8]) -> BNode { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tree_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn nodeInsert( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafDelete` should have a snake case name [INFO] [stdout] --> src/main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn leafDelete(new : &mut BNode, old : &BNode, index : u16) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeDeleteUpdate` should have a snake case name [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn nodeDeleteUpdate(new : &mut BNode , old : &BNode , index : u16 , updatedchild : BNode , tree : &mut BTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_delete_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `treeDelete` should have a snake case name [INFO] [stdout] --> src/main.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn treeDelete(tree : &mut BTree, old : BNode, key : &[u8]) -> BNode { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tree_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeSplit2` should have a snake case name [INFO] [stdout] --> src/main.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn nodeSplit2(left: &mut BNode , right : &mut BNode , old : &BNode) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_split2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeSplit3` should have a snake case name [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn nodeSplit3(old : BNode) -> (u16, [BNode;3]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_split3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeReplaceKidN` should have a snake case name [INFO] [stdout] --> src/main.rs:376:4 [INFO] [stdout] | [INFO] [stdout] 376 | fn nodeReplaceKidN( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_replace_kid_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSize` should have a snake case name [INFO] [stdout] --> src/main.rs:1407:4 [INFO] [stdout] | [INFO] [stdout] 1407 | fn flnSize(node: &BNode) -> i64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fln_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnNext` should have a snake case name [INFO] [stdout] --> src/main.rs:1411:4 [INFO] [stdout] | [INFO] [stdout] 1411 | fn flnNext(node: &BNode) -> u64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fln_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:1418:4 [INFO] [stdout] | [INFO] [stdout] 1418 | fn flnPtr(node: &BNode, idx: i64) -> u64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fln_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:1426:4 [INFO] [stdout] | [INFO] [stdout] 1426 | fn flnSetHeader(node: &mut BNode, size: u16, next: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fln_set_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:1436:4 [INFO] [stdout] | [INFO] [stdout] 1436 | fn flnSetPtr(node: &mut BNode, idx: usize, ptr: u64) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fln_set_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetTotal` should have a snake case name [INFO] [stdout] --> src/main.rs:1442:4 [INFO] [stdout] | [INFO] [stdout] 1442 | fn flnSetTotal(node: &mut BNode, total: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fln_set_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Total` should have a snake case name [INFO] [stdout] --> src/main.rs:1451:12 [INFO] [stdout] | [INFO] [stdout] 1451 | pub fn Total(&self) -> i64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Get` should have a snake case name [INFO] [stdout] --> src/main.rs:1463:12 [INFO] [stdout] | [INFO] [stdout] 1463 | pub fn Get(&self, topn: i64) -> u64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Update` should have a snake case name [INFO] [stdout] --> src/main.rs:1478:12 [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn Update(&mut self, popn: i64, mut freed: Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `update` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "79eafdfc18a13ebb421a3ac20b7ebdb35aa7dfb3d94c1739b0d59e91d8dec354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79eafdfc18a13ebb421a3ac20b7ebdb35aa7dfb3d94c1739b0d59e91d8dec354", kill_on_drop: false }` [INFO] [stdout] 79eafdfc18a13ebb421a3ac20b7ebdb35aa7dfb3d94c1739b0d59e91d8dec354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f460c67bac36e25d2e76b68e086abc9f45d5f57570b5f0fa73125b961901def1 [INFO] running `Command { std: "docker" "start" "-a" "f460c67bac36e25d2e76b68e086abc9f45d5f57570b5f0fa73125b961901def1", kill_on_drop: false }` [INFO] [stderr] Compiling database-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/main.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:1868:61 [INFO] [stdout] | [INFO] [stdout] 1868 | let mut rest_values = vec![Value::new_int64(0); (tdef.cols.len() - tdef.pkeys as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1868 - let mut rest_values = vec![Value::new_int64(0); (tdef.cols.len() - tdef.pkeys as usize)]; [INFO] [stdout] 1868 + let mut rest_values = vec![Value::new_int64(0); tdef.cols.len() - tdef.pkeys as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:1900:59 [INFO] [stdout] | [INFO] [stdout] 1900 | fn db_update(&mut self, tdef: &TableDef, rec: Record, mode: u8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tdef` [INFO] [stdout] --> src/main.rs:2589:18 [INFO] [stdout] | [INFO] [stdout] 2589 | Some(tdef) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tdef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_ERROR` is never used [INFO] [stdout] --> src/main.rs:1569:7 [INFO] [stdout] | [INFO] [stdout] 1569 | const TYPE_ERROR : u16 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:1686:5 [INFO] [stdout] | [INFO] [stdout] 1685 | pub struct Db { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 1686 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple_kv_example` is never used [INFO] [stdout] --> src/main.rs:2072:4 [INFO] [stdout] | [INFO] [stdout] 2072 | fn run_simple_kv_example() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn setHeader(&mut self, btype : u16, nkeys : u16) { [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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn getPtr(&self, index : 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:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn setPtr(&mut self, index : u16, val : u64) { [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:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn offsetPos(&self, index : 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:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn getOffset(&self, index : 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn setOffset(&mut self, index : u16, offset : u16) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kvPos` should have a snake case name [INFO] [stdout] --> src/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn kvPos(&self, index : u16) -> u16 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `kv_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKey` should have a snake case name [INFO] [stdout] --> src/main.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn getKey(&self, index : u16) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn getVal(&self, index : u16) -> &[u8] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeLookupLe` should have a snake case name [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn nodeLookupLe(node : &BNode, key: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_lookup_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn leafInsert(new : &mut BNode, old: &BNode, index: u16, key: &[u8], val: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafUpdate` should have a snake case name [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn leafUpdate(new : &mut BNode, old : &BNode, index : u16, key : &[u8], val : &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeAppendRange` should have a snake case name [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_append_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstNew` should have a snake case name [INFO] [stdout] --> src/main.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dst_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcOld` should have a snake case name [INFO] [stdout] --> src/main.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | fn nodeAppendRange(new : &mut BNode, old : &BNode, dstNew : u16 , srcOld : u16 , n : u16 ) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `src_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstBegin` should have a snake case name [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let dstBegin = new.getOffset(dstNew); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dst_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcBegin` should have a snake case name [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let srcBegin = old.getOffset(srcOld); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `src_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstPos` should have a snake case name [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let dstPos = new.kvPos(dstNew) as usize; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dst_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeAppendKv` should have a snake case name [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn nodeAppendKv(new : &mut BNode , index : u16, ptr : u64, key : &[u8], val : &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_append_kv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextOffset` should have a snake case name [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let nextOffset = new.getOffset(index) + 4 + key.len() as u16 + val.len() as u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `next_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `treeInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn treeInsert(tree : &mut BTree, node : BNode , key : &[u8], val: &[u8]) -> BNode { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tree_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeInsert` should have a snake case name [INFO] [stdout] --> src/main.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn nodeInsert( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leafDelete` should have a snake case name [INFO] [stdout] --> src/main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn leafDelete(new : &mut BNode, old : &BNode, index : u16) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `leaf_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeDeleteUpdate` should have a snake case name [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn nodeDeleteUpdate(new : &mut BNode , old : &BNode , index : u16 , updatedchild : BNode , tree : &mut BTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_delete_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `treeDelete` should have a snake case name [INFO] [stdout] --> src/main.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn treeDelete(tree : &mut BTree, old : BNode, key : &[u8]) -> BNode { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tree_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeSplit2` should have a snake case name [INFO] [stdout] --> src/main.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn nodeSplit2(left: &mut BNode , right : &mut BNode , old : &BNode) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_split2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeSplit3` should have a snake case name [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn nodeSplit3(old : BNode) -> (u16, [BNode;3]) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `node_split3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodeReplaceKidN` should have a snake case name [INFO] [stdout] --> src/main.rs:376:4 [INFO] [stdout] | [INFO] [stdout] 376 | fn nodeReplaceKidN( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `node_replace_kid_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSize` should have a snake case name [INFO] [stdout] --> src/main.rs:1407:4 [INFO] [stdout] | [INFO] [stdout] 1407 | fn flnSize(node: &BNode) -> i64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fln_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnNext` should have a snake case name [INFO] [stdout] --> src/main.rs:1411:4 [INFO] [stdout] | [INFO] [stdout] 1411 | fn flnNext(node: &BNode) -> u64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fln_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:1418:4 [INFO] [stdout] | [INFO] [stdout] 1418 | fn flnPtr(node: &BNode, idx: i64) -> u64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fln_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:1426:4 [INFO] [stdout] | [INFO] [stdout] 1426 | fn flnSetHeader(node: &mut BNode, size: u16, next: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fln_set_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetPtr` should have a snake case name [INFO] [stdout] --> src/main.rs:1436:4 [INFO] [stdout] | [INFO] [stdout] 1436 | fn flnSetPtr(node: &mut BNode, idx: usize, ptr: u64) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `fln_set_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flnSetTotal` should have a snake case name [INFO] [stdout] --> src/main.rs:1442:4 [INFO] [stdout] | [INFO] [stdout] 1442 | fn flnSetTotal(node: &mut BNode, total: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fln_set_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Total` should have a snake case name [INFO] [stdout] --> src/main.rs:1451:12 [INFO] [stdout] | [INFO] [stdout] 1451 | pub fn Total(&self) -> i64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Get` should have a snake case name [INFO] [stdout] --> src/main.rs:1463:12 [INFO] [stdout] | [INFO] [stdout] 1463 | pub fn Get(&self, topn: i64) -> u64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Update` should have a snake case name [INFO] [stdout] --> src/main.rs:1478:12 [INFO] [stdout] | [INFO] [stdout] 1478 | pub fn Update(&mut self, popn: i64, mut freed: Vec) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `update` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "f460c67bac36e25d2e76b68e086abc9f45d5f57570b5f0fa73125b961901def1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f460c67bac36e25d2e76b68e086abc9f45d5f57570b5f0fa73125b961901def1", kill_on_drop: false }` [INFO] [stdout] f460c67bac36e25d2e76b68e086abc9f45d5f57570b5f0fa73125b961901def1