[INFO] cloning repository https://github.com/whitemime/bitcask-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whitemime/bitcask-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitemime%2Fbitcask-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitemime%2Fbitcask-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c0df9796fd038f45c76885f0d302280c23e5854
[INFO] checking whitemime/bitcask-rs against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitemime%2Fbitcask-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/whitemime/bitcask-rs
[INFO] finished tweaking git repo https://github.com/whitemime/bitcask-rs
[INFO] tweaked toml for git repo https://github.com/whitemime/bitcask-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/whitemime/bitcask-rs on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/whitemime/bitcask-rs 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 673f37b7546a5fcf0fa61422374cea0787e92ef58ad7f275163300663242c7c4
[INFO] running `Command { std: "docker" "start" "-a" "673f37b7546a5fcf0fa61422374cea0787e92ef58ad7f275163300663242c7c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "673f37b7546a5fcf0fa61422374cea0787e92ef58ad7f275163300663242c7c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "673f37b7546a5fcf0fa61422374cea0787e92ef58ad7f275163300663242c7c4", kill_on_drop: false }`
[INFO] [stdout] 673f37b7546a5fcf0fa61422374cea0787e92ef58ad7f275163300663242c7c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 902977bc80c1ac2497727ec3827f8b46cde4ade196a5162fd97cb3b74b3b4a96
[INFO] running `Command { std: "docker" "start" "-a" "902977bc80c1ac2497727ec3827f8b46cde4ade196a5162fd97cb3b74b3b4a96", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking jiff v0.2.24
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking env_filter v1.0.1
[INFO] [stderr]     Checking env_logger v0.11.10
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking bitcask-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `logRecordType` should have an upper camel case name
[INFO] [stdout]  --> src/data/log_record.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum logRecordType {
[INFO] [stdout]   |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecordType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `logRecord` should have an upper camel case name
[INFO] [stdout]   --> src/data/log_record.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct logRecord {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `logRecordPos` should have an upper camel case name
[INFO] [stdout]   --> src/data/log_record.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct logRecordPos {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecordPos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/data/data_file.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{data::{self, log_record::logRecord}, errors::Result, fio};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_path`
[INFO] [stdout]   --> src/data/data_file.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(dir_path:PathBuf,file_id:u32) -> Result<Self> {
[INFO] [stdout]    |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_id`
[INFO] [stdout]   --> src/data/data_file.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(dir_path:PathBuf,file_id:u32) -> Result<Self> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]   --> src/data/data_file.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_log_record(&self,offset:u64) ->Result<logRecord> {
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/data/data_file.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn write(&self,buf:&[u8]) ->Result<usize> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `del` is never used
[INFO] [stdout]   --> src/index/mod.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Indexer : Sync +Send {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn del(&self,key:Vec<u8>) ->bool;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]   --> src/data/log_record.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct logRecord {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 11 |     pub(crate) key:Vec<u8>,
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `io_manage` is never read
[INFO] [stdout]   --> src/data/data_file.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct DataFile {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     io_manage:Box<dyn fio::IOManager>,//io接口
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read`, `write`, and `sync` are never used
[INFO] [stdout]   --> src/fio/mod.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait IOManager:Sync +Send {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout]  6 |     //从文件给定位置读取对应数据
[INFO] [stdout]  7 |     fn read(&self,buf:&mut [u8],offset:u64)->Result<usize>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]  8 |     //写入字节数组到文件中
[INFO] [stdout]  9 |     fn write(&self,buf:&[u8]) -> Result<usize>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 10 |     //持久化数据
[INFO] [stdout] 11 |     fn sync(&self)->Result<()>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileIO` is never constructed
[INFO] [stdout]  --> src/fio/file_io.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FileIO {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fio/file_io.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl FileIO {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(file_name:PathBuf) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `logRecordType` should have an upper camel case name
[INFO] [stdout]  --> src/data/log_record.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum logRecordType {
[INFO] [stdout]   |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecordType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `logRecord` should have an upper camel case name
[INFO] [stdout]   --> src/data/log_record.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct logRecord {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `logRecordPos` should have an upper camel case name
[INFO] [stdout]   --> src/data/log_record.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct logRecordPos {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogRecordPos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/data/data_file.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{data::{self, log_record::logRecord}, errors::Result, fio};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_path`
[INFO] [stdout]   --> src/data/data_file.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(dir_path:PathBuf,file_id:u32) -> Result<Self> {
[INFO] [stdout]    |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_id`
[INFO] [stdout]   --> src/data/data_file.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(dir_path:PathBuf,file_id:u32) -> Result<Self> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]   --> src/data/data_file.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_log_record(&self,offset:u64) ->Result<logRecord> {
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/data/data_file.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn write(&self,buf:&[u8]) ->Result<usize> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `del` is never used
[INFO] [stdout]   --> src/index/mod.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Indexer : Sync +Send {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn del(&self,key:Vec<u8>) ->bool;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTree` is never constructed
[INFO] [stdout]  --> src/index/btree.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct BTree {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/index/btree.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BTree {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new() ->Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]   --> src/data/log_record.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct logRecord {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 11 |     pub(crate) key:Vec<u8>,
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `io_manage` is never read
[INFO] [stdout]   --> src/data/data_file.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct DataFile {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     io_manage:Box<dyn fio::IOManager>,//io接口
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read`, `write`, and `sync` are never used
[INFO] [stdout]   --> src/fio/mod.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait IOManager:Sync +Send {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout]  6 |     //从文件给定位置读取对应数据
[INFO] [stdout]  7 |     fn read(&self,buf:&mut [u8],offset:u64)->Result<usize>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]  8 |     //写入字节数组到文件中
[INFO] [stdout]  9 |     fn write(&self,buf:&[u8]) -> Result<usize>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 10 |     //持久化数据
[INFO] [stdout] 11 |     fn sync(&self)->Result<()>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileIO` is never constructed
[INFO] [stdout]  --> src/fio/file_io.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FileIO {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fio/file_io.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl FileIO {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(file_name:PathBuf) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.58s
[INFO] running `Command { std: "docker" "inspect" "902977bc80c1ac2497727ec3827f8b46cde4ade196a5162fd97cb3b74b3b4a96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "902977bc80c1ac2497727ec3827f8b46cde4ade196a5162fd97cb3b74b3b4a96", kill_on_drop: false }`
[INFO] [stdout] 902977bc80c1ac2497727ec3827f8b46cde4ade196a5162fd97cb3b74b3b4a96
